all repos — nixfiles @ 19c2511ca46d792cbd348dd68f9f6db1a4d75dfe

System and user configuration, managed by nix and home-manager

Installer: check for host-specific zshrc before trying to compile

Alan Pearce
commit

19c2511ca46d792cbd348dd68f9f6db1a4d75dfe

parent

07a7dedaed8646445c2d8b213186c89833c30e59

1 file changed, 3 insertions(+), 1 deletion(-)

jump to
M installinstall
@@ -58,8 +58,10 @@ zfiles=(
dotfiles/zsh/functions/fasd/fasd $fasd_cache dotfiles/zsh/zshrc - dotfiles/zsh/zshrc_${HOST%%.*} ) +if [[ -f dotfiles/zsh/zshrc_${HOST%%.*} ]]; then + zfiles+=dotfiles/zsh/zshrc_${HOST%%.*} +fi if [[ -e /usr/bin/emerge ]]; then zfiles+=dotfiles/zsh/zshrc_gentoo fi