aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-04-09 00:35:17 +0200
committerDavid Runge <david.runge@frqrec.com>2014-04-09 00:35:17 +0200
commit74974fc12ac2e3c55aa94dcedcd3a448d962b9e2 (patch)
treed1b780ca57b7643b7f1d7efa8614b41e13ba1758
parentbe29cb02fd62cb62d4e93c2ca583ac8ae422f824 (diff)
downloaddotfiles-74974fc12ac2e3c55aa94dcedcd3a448d962b9e2.tar.gz
dotfiles-74974fc12ac2e3c55aa94dcedcd3a448d962b9e2.tar.bz2
dotfiles-74974fc12ac2e3c55aa94dcedcd3a448d962b9e2.tar.xz
dotfiles-74974fc12ac2e3c55aa94dcedcd3a448d962b9e2.zip
Removing regexp-replace functionality for giev. zsh is too old... yawn
-rw-r--r--.zsh.before/path.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zsh.before/path.zsh b/.zsh.before/path.zsh
index 9b1579f..fc2620e 100644
--- a/.zsh.before/path.zsh
+++ b/.zsh.before/path.zsh
@@ -17,7 +17,7 @@ PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
# replace /usr/local/bin once with $HOME/bin:/usr/local/bin in $PATH
autoload -U regexp-replace
-if [[ "$PATH" != *dave/bin:/usr/local/sbin* ]];then
+if [[ "$PATH" != *dave/bin:/usr/local/sbin* && "$HOST" != *giev* ]];then
regexp-replace PATH '/usr/local/bin:' '$HOME/bin:/usr/local/sbin:'
fi