all repos — nixfiles @ 49b47f7785bde886230d610a79e404fcd03a1391

System and user configuration, managed by nix and home-manager

shell: add aliases for xh with headers (both request and response)
Alan Pearce alan@alanpearce.eu
Thu, 14 Sep 2023 20:31:52 +0200
commit

49b47f7785bde886230d610a79e404fcd03a1391

parent

fc0cc303130486a444d36b6c40403d501d81ee88

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M user/settings/shell.nixuser/settings/shell.nix
@@ -34,6 +34,9 @@       http = "xh";
       https = "xh --default-scheme https";
       xhs = "xh --default-scheme https";
+      xhh = "xh --print Hh";
+      xhhs = "xh --print Hh --default-scheme https";
+      xhsh = "xh --print Hh --default-scheme https";
 
       hist-freq-lines = lib.mkDefault "fc -l -10000 | cut -d' ' -f4- | sort | uniq -c | sort -gr | head -n100 | less";
       hist-freq-commands = lib.mkDefault "fc -l -10000 | cut -d' ' -f4 | sort | uniq -c | sort -gr | head -n100 | less";