aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index df7f45c..f0d7946 100644
--- a/flake.nix
+++ b/flake.nix
@@ -37,7 +37,7 @@
};
config = mkIf config.programs.shellrc.enable {
- environment.loginShellInit = ''
+ environment.interactiveShellInit = ''
for sh in ${./shellrc.d}/*; do
[ -r "$sh" ] && . "$sh"
done
@@ -47,17 +47,19 @@
done
'';
- programs.bash.loginShellInit = ''
+ programs.bash.interactiveShellInit = ''
for sh in ${./bashrc.d}/*; do
[ -r "$sh" ] && . "$sh"
done
'';
+ programs.bash.promptInit = ""; # Disable default prompt as we have our own
- programs.zsh.loginShellInit = mkIf config.programs.zsh.enable ''
+ programs.zsh.interactiveShellInit = mkIf config.programs.zsh.enable ''
for sh in ${./zshrc.d}/*; do
[ -r "$sh" ] && . "$sh"
done
'';
+ programs.zsh.promptInit = ""; # Disable default prompt as we have our own
environment.systemPackages = [
zsh-completion