summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-11-01 07:49:20 +0000
committerAlan Pearce2013-11-01 07:49:20 +0000
commit7d8493f63daf93beb4c82d0c9602fc21974daca7 (patch)
treebf5e3f99492e93ad4005ab35f74749bfbbf76589
parent6d996c60ff93d5c9ff01015e89b5932eb190eafc (diff)
downloadnixfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.tar.lz
nixfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.tar.zst
nixfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.zip
zsh: rename auxillary files with extension
-rwxr-xr-xinstall8
-rwxr-xr-xzsh/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 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
diff --git a/zsh/zshrc_freebsd b/zsh/freebsd.zsh
index 62612611..62612611 100755
--- a/zsh/zshrc_freebsd
+++ b/zsh/freebsd.zsh
diff --git a/zsh/zshrc_gentoo b/zsh/gentoo.zsh
index 7af53466..7af53466 100644
--- a/zsh/zshrc_gentoo
+++ b/zsh/gentoo.zsh
diff --git a/zsh/zshrc_prefect b/zsh/prefect.zsh
index 997ba391..997ba391 100644
--- a/zsh/zshrc_prefect
+++ b/zsh/prefect.zsh
diff --git a/zsh/zshrc_server b/zsh/server.zsh
index d9d74219..d9d74219 100644
--- a/zsh/zshrc_server
+++ b/zsh/server.zsh
diff --git a/zsh/zshrc_sheldon b/zsh/sheldon.zsh
index 6168baee..6168baee 100644
--- a/zsh/zshrc_sheldon
+++ b/zsh/sheldon.zsh
diff --git a/zsh/zshrc_st b/zsh/st.zsh
index a449ef92..a449ef92 100644
--- a/zsh/zshrc_st
+++ b/zsh/st.zsh