all repos — nixfiles @ f6dd29fb7b85c0ab069b3d5f2173adf34a410e88

System and user configuration, managed by nix and home-manager

zsh: add aliases for IPv{4,6}-only output of `ip` command
Alan Pearce alan@alanpearce.eu
Tue, 01 Aug 2023 16:25:49 +0200
commit

f6dd29fb7b85c0ab069b3d5f2173adf34a410e88

parent

8a227d5968f8c3f446c1603187ce072efb590faa

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -130,6 +130,8 @@ e = "$EDITOR";       se = "sudo -e";
 
       ip = "ip --color=auto";
+      ip4 = "ip -4";
+      ip6 = "ip -6";
 
       d = "docker";
       db = "docker build";