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 | |
parent | 6d996c60ff93d5c9ff01015e89b5932eb190eafc (diff) | |
download | dotfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.tar.lz dotfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.tar.zst dotfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.zip |
zsh: rename auxillary files with extension
-rwxr-xr-x | install | 8 | ||||
-rwxr-xr-x | zsh/freebsd.zsh (renamed from zsh/zshrc_freebsd) | 0 | ||||
-rw-r--r-- | zsh/gentoo.zsh (renamed from zsh/zshrc_gentoo) | 0 | ||||
-rw-r--r-- | zsh/prefect.zsh (renamed from zsh/zshrc_prefect) | 0 | ||||
-rw-r--r-- | zsh/server.zsh (renamed from zsh/zshrc_server) | 0 | ||||
-rw-r--r-- | zsh/sheldon.zsh (renamed from zsh/zshrc_sheldon) | 0 | ||||
-rw-r--r-- | zsh/st.zsh (renamed from zsh/zshrc_st) | 0 |
7 files changed, 4 insertions, 4 deletions
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 diff --git a/zsh/zshrc_freebsd b/zsh/freebsd.zsh index 6261261..6261261 100755 --- a/zsh/zshrc_freebsd +++ b/zsh/freebsd.zsh diff --git a/zsh/zshrc_gentoo b/zsh/gentoo.zsh index 7af5346..7af5346 100644 --- a/zsh/zshrc_gentoo +++ b/zsh/gentoo.zsh diff --git a/zsh/zshrc_prefect b/zsh/prefect.zsh index 997ba39..997ba39 100644 --- a/zsh/zshrc_prefect +++ b/zsh/prefect.zsh diff --git a/zsh/zshrc_server b/zsh/server.zsh index d9d7421..d9d7421 100644 --- a/zsh/zshrc_server +++ b/zsh/server.zsh diff --git a/zsh/zshrc_sheldon b/zsh/sheldon.zsh index 6168bae..6168bae 100644 --- a/zsh/zshrc_sheldon +++ b/zsh/sheldon.zsh diff --git a/zsh/zshrc_st b/zsh/st.zsh index a449ef9..a449ef9 100644 --- a/zsh/zshrc_st +++ b/zsh/st.zsh |