summary refs log tree commit diff stats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall8
1 files changed, 4 insertions, 4 deletions
diff --git a/install b/install
index 13ee6cca..74cf8c43 100755
--- a/install
+++ b/install
@@ -51,14 +51,14 @@ zfiles=(
 	$fasd_cache
 	$target/zsh/zshrc
 )
-if [[ -f $target/zsh/zshrc_${HOST%%.*} ]]; then
-	zfiles+=$target/zsh/zshrc_${HOST%%.*}
+if [[ -f $target/zsh/${HOST%%.*}.zsh ]]; then
+	zfiles+=$target/zsh/${HOST%%.*}.zsh
 fi
 if [[ -e /usr/bin/emerge ]]; then
-	zfiles+=$target/zsh/zshrc_gentoo
+	zfiles+=$target/zsh/gentoo.zsh
 fi
 if [[ $OSTYPE == freebsd* ]]; then
-	zfiles+=$target/zsh/zshrc_freebsd
+	zfiles+=$target/zsh/freebsd.zsh
 fi
 
 zrecompile -p -R ~/.zshrc.zwc $zfiles