Commit 6a998cb

HPCesia <me@hpcesia.com>
2025-06-01 17:32:51
feat(app): modify shell config
1 parent a8e6568
Changed files (4)
home
modules
nixos
desktop
home/base/core/shells/default.nix
@@ -10,5 +10,8 @@
 
   programs.fish = {
     enable = true;
+    shellAliases = {
+      g = "lazygit";
+    };
   };
 }
home/base/core/starship/starship.toml
@@ -80,7 +80,7 @@ truncation_symbol = "…/"
 "图片" = " "
 "Videos" = " "
 "视频" = " "
-"Developer" = "󰲋 "
+"Development" = "󰲋 "
 "开发" = "󰲋 "
 "Desktop" = " "
 "桌面" = " "
@@ -152,7 +152,7 @@ style = "bg:sapphire"
 format = '[[ $symbol( $context) ](fg:crust bg:sapphire)]($style)'
 
 [conda]
-symbol = "  "
+symbol = ""
 style = "fg:crust bg:sapphire"
 format = '[$symbol$environment ]($style)'
 ignore_base = false
home/base/core/core.nix
@@ -24,8 +24,7 @@
     zoxide = {
       enable = true;
       enableBashIntegration = true;
-      enableZshIntegration = true;
-      enableNushellIntegration = true;
+      enableFishIntegration = true;
     };
   };
 }
modules/nixos/desktop/misc.nix
@@ -8,7 +8,7 @@
   # add user's shell into /etc/shells
   environment.shells = with pkgs; [
     bashInteractive
-    pkgs.fish
+    fish
   ];
   # set user's default shell system-wide
   users.defaultUserShell = pkgs.bashInteractive;