zsh: cleanup
This commit is contained in:
parent
6e10b5ecdd
commit
81be48945c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue