aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-05-13 00:09:05 +0200
committerDavid Runge <david.runge@frqrec.com>2014-05-13 00:09:05 +0200
commit1d1686ccadc8ffd12374d61550aa861235d57736 (patch)
tree3b9cbb079b0235158e98f4394133cae3623c906b
parent77be8bb8243bde6b9fc3887578738951153c2d5a (diff)
downloaddotfiles-1d1686ccadc8ffd12374d61550aa861235d57736.tar.gz
dotfiles-1d1686ccadc8ffd12374d61550aa861235d57736.tar.bz2
dotfiles-1d1686ccadc8ffd12374d61550aa861235d57736.tar.xz
dotfiles-1d1686ccadc8ffd12374d61550aa861235d57736.zip
Adding host specific config files, using hostname instead of HOST env variable
-rw-r--r--.zsh.after/giev0
-rw-r--r--.zsh.after/hostspecific.zsh6
2 files changed, 3 insertions, 3 deletions
diff --git a/.zsh.after/giev b/.zsh.after/giev
deleted file mode 100644
index e69de29..0000000
--- a/.zsh.after/giev
+++ /dev/null
diff --git a/.zsh.after/hostspecific.zsh b/.zsh.after/hostspecific.zsh
index 7f0ea67..aaa8f5b 100644
--- a/.zsh.after/hostspecific.zsh
+++ b/.zsh.after/hostspecific.zsh
@@ -1,10 +1,10 @@
-case "$HOST" in
+case $(hostname) in
s4|s5|c*)
. $HOME/.zsh.after/apt
. $HOME/.zsh.after/unixpool
;;
- giev|frqrec)
+ frqrec)
. $HOME/.zsh.after/apt
- . $HOME/.zsh.after/giev
+ . $HOME/.zsh.after/frqrec
;;
esac