zsh: Write .bash_profile to set zsh as default

This commit is contained in:
Giulio De Pasquale 2023-02-18 11:50:40 -08:00
parent aa6dd43783
commit f4d67b9af7

View File

@ -8,4 +8,10 @@
theme = "bira";
};
};
home.file.".bash_profile".text = ''
export SHELL=${pkgs.zsh}/bin/zsh
[ -f ''${HOME}/.bashrc ] && . ''${HOME}/.bashrc
exec ${pkgs.zsh}/bin/zsh
'';
}