zsh: Do not source bashrc when writing bashrc
This commit is contained in:
parent
96fb40da39
commit
4bafb2fda8
@ -6,9 +6,9 @@ let
|
||||
# not having the attribute users means
|
||||
# we cannot change the default shell (e.g. this is not a NixOS host)
|
||||
exec_zsh = ''
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
# if [ -f "$HOME/.bashrc" ]; then
|
||||
# . "$HOME/.bashrc"
|
||||
# fi
|
||||
|
||||
exec ${pkgs.zsh}/bin/zsh
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user