commit cd834ed664f9a2b5256ce12cfb4243c89109e959
parent e4bb3a05f8aef6fc45a7428da0e84ed4510ec543
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 29 Aug 2018 10:26:03 +0200
Add lspci and lsusb aliases
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/fish/nix-aliases.fish b/fish/nix-aliases.fish
@@ -17,3 +17,11 @@ end
function sshfs
nix run nixpkgs.sshfs -c sshfs $argv
end
+
+function lspci
+ nix run nixpkgs.pciutils -c lspci $argv
+end
+
+function lsusb
+ nix run nixpkgs.usbutils -c lspci $argv
+end