diff options
author | Alan Pearce | 2023-09-14 20:31:52 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-14 20:31:52 +0200 |
commit | 49b47f7785bde886230d610a79e404fcd03a1391 (patch) | |
tree | eb240ccfff6e8851e70b4d79096eccbee9a47c00 /user | |
parent | fc0cc303130486a444d36b6c40403d501d81ee88 (diff) | |
download | nixfiles-49b47f7785bde886230d610a79e404fcd03a1391.tar.lz nixfiles-49b47f7785bde886230d610a79e404fcd03a1391.tar.zst nixfiles-49b47f7785bde886230d610a79e404fcd03a1391.zip |
shell: add aliases for xh with headers (both request and response)
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/shell.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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"; |