ctucx.git: nixfiles

ctucx' nixfiles

commit d09784356f85e79d1a66e41b255534427421a645
parent 3d58686629be4be55b6d6562750ecf333db93edc
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 12 Jan 2022 16:51:11 +0100

programs/cli/bash: update aliases
1 file changed, 18 insertions(+), 14 deletions(-)
M
configurations/programs/cli/bash.nix
|
32
++++++++++++++++++--------------
diff --git a/configurations/programs/cli/bash.nix b/configurations/programs/cli/bash.nix
@@ -15,25 +15,29 @@
         historyIgnore   = [ "ls" "clear" "exit" ];
 
         shellAliases    = {
-          ".."      = "cd ..";
-          "..."     = "cd ../..";
+          ".."         = "cd ..";
+          "..."        = "cd ../..";
 
-          ls        = "${pkgs.exa}/bin/exa";
-          ll        = "${pkgs.exa}/bin/exa -l";
-          la        = "${pkgs.exa}/bin/exa -a";
-          lt        = "${pkgs.exa}/bin/exa --tree";
-          lla       = "${pkgs.exa}/bin/exa -la";
+          ls           = "exa";
+          ll           = "exa -l";
+          la           = "exa -a";
+          lt           = "exa --tree";
+          lla          = "exa -la";
 
-          cat       = "${pkgs.bat}/bin/bat -p";
-          grep      = "${pkgs.ripgrep}/bin/rg";
-          find      = "${pkgs.fd}/bin/fd";
-          nano      = "${pkgs.micro}/bin/micro";
+          cat          = "bat -p";
+          grep         = "rg";
+          find         = "fd";
+          nano         = "micro";
 
-          reinitgit = "rm -rf .git && git init && git add -A && git commit -m 'init'";
+          killall      = "pkill";
 
-          use       = "nix-shell -p ";
+          reinitgit    = "rm -rf .git && git init && git add -A && git commit -m 'init'";
 
-          zzz       = "systemctl suspend";
+          use          = "nix-shell -p ";
+
+          "youtube-dl" = "yt-dlp";
+
+          zzz          = "systemctl suspend";
 
           eval-system-config  = "nix-instantiate \"<nixpkgs/nixos>\" -A config.system.build.toplevel -I /etc/nixos/configuration.nix";
           nix-collect-garbage = "sudo nix-collect-garbage";