From 6b2bd7bfff02d31b4fcf18bff23d3c149f968fa2 Mon Sep 17 00:00:00 2001 From: Wesley King Date: Sun, 8 Oct 2023 18:55:59 -0400 Subject: [PATCH] #887 - Warning in terminal regarding egrep obsolescence --- zsh/0_path.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }