commit | fcf9a368fe65d8f48282626c2337dc2b1ceabb15 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sat Jul 02 12:46:47 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Sat Jul 02 12:46:47 2022 +0100 |
tree | 049bc7be138e8c26232d0c9c5440ca31a97baacb | |
parent | 76101528608489a4645c8f566569d66daecbe3cf [diff] [blame] |
Add an alias for iproute2's ip command to enable color
diff --git a/src/apps/personal/ip.nix b/src/apps/personal/ip.nix new file mode 100644 index 0000000..85dacc4 --- /dev/null +++ b/src/apps/personal/ip.nix
@@ -0,0 +1,9 @@ +{ pkgs, ... }: { + home.packages = [ + pkgs.iproute2 + ]; + + home.shellAliases = { + ip = "${pkgs.iproute2}/bin/ip -c"; + }; +}