zsh: Write .bash_profile to set zsh as default
This commit is contained in:
parent
aa6dd43783
commit
f4d67b9af7
@ -8,4 +8,10 @@
|
|||||||
theme = "bira";
|
theme = "bira";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.file.".bash_profile".text = ''
|
||||||
|
export SHELL=${pkgs.zsh}/bin/zsh
|
||||||
|
[ -f ''${HOME}/.bashrc ] && . ''${HOME}/.bashrc
|
||||||
|
exec ${pkgs.zsh}/bin/zsh
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user