diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 14ae02c7a..01f31dc9f 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -132,9 +132,9 @@ for NEW_PATH in \ "$(gem environment gempath)" \ "$(find -L ~/.local/bin -type d -printf %p: | sed 's/.$//')" do - case ":$PATH:" in - *":$NEW_PATH:"*) ;; - *) export PATH="$NEW_PATH:$PATH" ;; + case ":${PATH}:" in + *":${NEW_PATH}:"*) ;; + *) export PATH="${NEW_PATH}:${PATH}" ;; esac done