ctucx.git: nixfiles

ctucx' nixfiles

commit f4f6f89dea86e56fcbe67b5817b39b19b39662cf
parent 74b04b7e67cbf1e7e783a987f96c5d317ed4f159
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 9 Oct 2021 20:19:54 +0200

programs/cli/bash: add aliases, set enableVteIntegration to true
1 file changed, 16 insertions(+), 10 deletions(-)
M
configurations/programs/cli/bash.nix
|
26
++++++++++++++++----------
diff --git a/configurations/programs/cli/bash.nix b/configurations/programs/cli/bash.nix
@@ -8,26 +8,32 @@
   home-manager.users.leah = {
     programs = {
       bash = {
-        enable          = true;
+        enable               = true;
+        enableVteIntegration = true;
+
         historyFileSize = 999999;
+        historyIgnore   = [ "ls" "clear" "exit" ];
+
         shellAliases    = {
           ".."      = "cd ..";
           "..."     = "cd ../..";
-          ls        = "exa";
-          ll        = "ls -l";
-          la        = "ls -la";
 
-          zzz       = "systemctl suspend";
+          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";
 
-          cat       = "bat -p";
-          grep      = "rg";
-          find      = "fd";
-          nano      = "micro";
-          gotop     = "ytop";
+          cat       = "${pkgs.bat}/bin/bat -p";
+          grep      = "${pkgs.ripgrep}/bin/rg";
+          find      = "${pkgs.fd}/bin/fd";
+          nano      = "${pkgs.micro}/bin/micro";
 
           reinitgit = "rm -rf .git && git init && git add -A && git commit -m 'init'";
 
           use       = "nix-shell -p ";
+
+          zzz       = "systemctl suspend";
         };
       };
     };