1
0
Fork 0

zsh: cleanup

This commit is contained in:
Luca Bilke 2024-07-30 19:55:01 +02:00
parent 6e10b5ecdd
commit 81be48945c
No known key found for this signature in database
GPG Key ID: C9E851809C1A5BDE
1 changed files with 3 additions and 3 deletions

View File

@ -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