]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Moved host specific configuration files to own directory.
authorSimon Ruderich <simon@ruderich.org>
Sat, 4 Oct 2008 16:00:27 +0000 (18:00 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 16 Feb 2009 15:34:39 +0000 (16:34 +0100)
This makes sure the directory isn't cluttered when OS specific files are added
in the future.

bash/host/rc.zucker [moved from bash/rc.zucker with 100% similarity]
bash/rc
zsh/env
zsh/host/env.peters-g5 [moved from zsh/env.peters-g5 with 100% similarity]
zsh/host/env.zucker [moved from zsh/env.zucker with 100% similarity]
zsh/host/rc.zucker [moved from zsh/rc.zucker with 100% similarity]
zsh/rc

similarity index 100%
rename from bash/rc.zucker
rename to bash/host/rc.zucker
diff --git a/bash/rc b/bash/rc
index 9f84fc78f7b3385e016429f9242199a516c5141f..20f20e65cc49d25dc3fb5a4f97fad538e334d1a8 100644 (file)
--- a/bash/rc
+++ b/bash/rc
@@ -26,4 +26,4 @@ set -o vi
 
 
 # Load rc file for current hostname (first part before a dot) or rc.local.
-source_config ~/.bash "" rc $host
+source_config ~/.bash host rc $host
diff --git a/zsh/env b/zsh/env
index a3725b3a7d6a100995b0bdde69639dae3dcc81b8..e1384b00615ff6a3c30ec31c37d4996f2e07f345 100644 (file)
--- a/zsh/env
+++ b/zsh/env
@@ -18,4 +18,4 @@ fi
 source_config ~/.shell "" env $host
 
 # Load env file for current hostname (first part before a dot) or env.local.
-source_config ~/.zsh "" env $host
+source_config ~/.zsh host env $host
similarity index 100%
rename from zsh/env.peters-g5
rename to zsh/host/env.peters-g5
similarity index 100%
rename from zsh/env.zucker
rename to zsh/host/env.zucker
similarity index 100%
rename from zsh/rc.zucker
rename to zsh/host/rc.zucker
diff --git a/zsh/rc b/zsh/rc
index 7b0e7d24ac41708318b720f4c543b470440c7846..b4405066ec47509af2618e7f7c24d4ab022d0478 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -124,4 +124,4 @@ function ll() {
 
 
 # Load rc file for current hostname (first part before a dot) or rc.local.
-source_config ~/.zsh "" rc ${$(hostname)//.*/}
+source_config ~/.zsh host rc ${$(hostname)//.*/}