diff --git a/zsh/0_path.zsh b/zsh/0_path.zsh index 050e67aca2..4a1d54d4f6 100644 --- a/zsh/0_path.zsh +++ b/zsh/0_path.zsh @@ -2,7 +2,7 @@ pathAppend() { # Only adds to the path if it's not already there - if ! echo $PATH | egrep -q "(^|:)$1($|:)" ; then + if ! echo $PATH | grep -E -q "(^|:)$1($|:)" ; then PATH=$PATH:$1 fi }