summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xinstall4
1 files changed, 3 insertions, 1 deletions
diff --git a/install b/install
index 0fa5859e..40c134f8 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