summary refs log tree commit diff stats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall4
1 files changed, 3 insertions, 1 deletions
diff --git a/install b/install
index 0fa5859..40c134f 100755
--- a/install
+++ b/install
@@ -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