From 7d8493f63daf93beb4c82d0c9602fc21974daca7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 1 Nov 2013 07:49:20 +0000 Subject: zsh: rename auxillary files with extension --- install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install') diff --git a/install b/install index 13ee6cc..74cf8c4 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 -- cgit 1.4.1