shell: add aliases for xh with headers (both request and response)
Alan Pearce alan@alanpearce.eu
Thu, 14 Sep 2023 20:31:52 +0200
1 files changed, 3 insertions(+), 0 deletions(-)
jump to
M user/settings/shell.nix → user/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";