summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-08-01 16:25:49 +0200
committerAlan Pearce2023-08-01 16:25:49 +0200
commitf6dd29fb7b85c0ab069b3d5f2173adf34a410e88 (patch)
tree540336833538e93cc306221112e5c443ac03dd49 /user
parent8a227d5968f8c3f446c1603187ce072efb590faa (diff)
downloadnixfiles-f6dd29fb7b85c0ab069b3d5f2173adf34a410e88.tar.lz
nixfiles-f6dd29fb7b85c0ab069b3d5f2173adf34a410e88.tar.zst
nixfiles-f6dd29fb7b85c0ab069b3d5f2173adf34a410e88.zip
zsh: add aliases for IPv{4,6}-only output of `ip` command
Diffstat (limited to 'user')
-rw-r--r--user/settings/zsh.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index f2feda10..209140ce 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -130,6 +130,8 @@ in
       se = "sudo -e";
 
       ip = "ip --color=auto";
+      ip4 = "ip -4";
+      ip6 = "ip -6";
 
       d = "docker";
       db = "docker build";