From 74974fc12ac2e3c55aa94dcedcd3a448d962b9e2 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 9 Apr 2014 00:35:17 +0200 Subject: Removing regexp-replace functionality for giev. zsh is too old... yawn --- .zsh.before/path.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zsh.before') 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 -- cgit v1.2.3-54-g00ecf