summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2023-04-17 09:24:31 +0200
committerAlan Pearce2023-04-17 09:24:47 +0200
commit53b7c75e7ac69f059444963adf6f5ceb9d96bd8f (patch)
tree4e40c2c05ec0a4465d3783cf8719152b17bd890d /user/settings
parent659df13a8a6ac848cc095987f33cc1020bd66af9 (diff)
downloadnixfiles-53b7c75e7ac69f059444963adf6f5ceb9d96bd8f.tar.lz
nixfiles-53b7c75e7ac69f059444963adf6f5ceb9d96bd8f.tar.zst
nixfiles-53b7c75e7ac69f059444963adf6f5ceb9d96bd8f.zip
replace httpie with xh
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/development/base.nix2
-rw-r--r--user/settings/emacs.nix3
-rw-r--r--user/settings/zsh.nix3
3 files changed, 5 insertions, 3 deletions
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";