aboutsummaryrefslogtreecommitdiffstats
path: root/.zsh.after/hostspecific.zsh
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 /.zsh.after/hostspecific.zsh
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
Diffstat (limited to '.zsh.after/hostspecific.zsh')
-rw-r--r--.zsh.after/hostspecific.zsh6
1 files changed, 3 insertions, 3 deletions
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