From 53b7c75e7ac69f059444963adf6f5ceb9d96bd8f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 17 Apr 2023 09:24:31 +0200 Subject: replace httpie with xh --- user/settings/development/base.nix | 2 +- user/settings/emacs.nix | 3 ++- user/settings/zsh.nix | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'user') diff --git a/user/settings/development/base.nix b/user/settings/development/base.nix index 6eff88cf..9848e2db 100644 --- a/user/settings/development/base.nix +++ b/user/settings/development/base.nix @@ -20,7 +20,7 @@ in mosh - httpie + xh jq ] ++ ( diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 3c1e98e7..befc302d 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -58,7 +58,8 @@ in ll = "ls -lh $*"; lla = "ls -lhA $*"; - https = "http --default-scheme https $*"; + http = "xh"; + https = "xh --default-scheme https $*"; ava = "npx ava $*"; bunyan = "npx bunyan $*"; diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index 49e59b36..24da676f 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -106,7 +106,8 @@ in cg = "cd $(git root)"; cdg = "cd $(git root)"; - https = "http --default-scheme https"; + http = "xh"; + https = "xh --default-scheme https"; history = "fc -l $(( $LINES - 2 ))"; hist-freq-lines = "fc -l -10000 | cut -d' ' -f4- | sort | uniq -c | sort -g | tail -n100 | less"; -- cgit 1.4.1