diff options
author | Alan Pearce | 2013-11-01 07:49:20 +0000 |
---|---|---|
committer | Alan Pearce | 2013-11-01 07:49:20 +0000 |
commit | 7d8493f63daf93beb4c82d0c9602fc21974daca7 (patch) | |
tree | bf5e3f99492e93ad4005ab35f74749bfbbf76589 /install | |
parent | 6d996c60ff93d5c9ff01015e89b5932eb190eafc (diff) | |
download | nixfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.tar.lz nixfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.tar.zst nixfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.zip |
zsh: rename auxillary files with extension
Diffstat (limited to 'install')
-rwxr-xr-x | install | 8 |
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 |