reconfigure bash

because nix shells uses this
This commit is contained in:
datsudo 2025-06-06 20:47:57 +08:00
parent f507cada32
commit c38929e6b1
2 changed files with 7 additions and 0 deletions

View File

@ -54,6 +54,12 @@ in
}; };
}; };
programs.bash = {
enable = true;
historyIgnore = ["ls" "exit"];
shellAliases = aliases;
};
programs.zsh = { programs.zsh = {
enable = cfg.zsh.enable; enable = cfg.zsh.enable;
enableCompletion = true; enableCompletion = true;

View File

@ -22,6 +22,7 @@ in
programs.zoxide = { programs.zoxide = {
enable = cfg.zoxide.enable; enable = cfg.zoxide.enable;
enableZshIntegration = true; enableZshIntegration = true;
enableBashIntegration = true;
options = [ "--cmd cd" ]; options = [ "--cmd cd" ];
}; };
}; };