From 49b47f7785bde886230d610a79e404fcd03a1391 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 14 Sep 2023 20:31:52 +0200 Subject: shell: add aliases for xh with headers (both request and response) --- user/settings/shell.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/user/settings/shell.nix b/user/settings/shell.nix index 0f31a632..1c267713 100644 --- a/user/settings/shell.nix +++ b/user/settings/shell.nix @@ -34,6 +34,9 @@ in 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"; -- cgit 1.4.1