all repos — nixfiles @ 7d8493f63daf93beb4c82d0c9602fc21974daca7

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

zsh: rename auxillary files with extension
Alan Pearce alan@alanpearce.co.uk
Fri, 01 Nov 2013 07:49:20 +0000
commit

7d8493f63daf93beb4c82d0c9602fc21974daca7

parent

6d996c60ff93d5c9ff01015e89b5932eb190eafc

M installinstall
@@ -51,14 +51,14 @@ $target/zsh/functions/fasd/fasd 	$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