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
|
# not having the attribute users means
|
||||||
# we cannot change the default shell (e.g. this is not a NixOS host)
|
# we cannot change the default shell (e.g. this is not a NixOS host)
|
||||||
exec_zsh = ''
|
exec_zsh = ''
|
||||||
if [ -f "$HOME/.bashrc" ]; then
|
# if [ -f "$HOME/.bashrc" ]; then
|
||||||
. "$HOME/.bashrc"
|
# . "$HOME/.bashrc"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
exec ${pkgs.zsh}/bin/zsh
|
exec ${pkgs.zsh}/bin/zsh
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user