Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zsh/0_path.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down