zsh: Do not source bashrc when writing bashrc

This commit is contained in:
Giulio De Pasquale 2023-03-27 18:03:14 +02:00
parent 96fb40da39
commit 4bafb2fda8

View File

@ -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
'';