Put extra paths before main PATH

This commit is contained in:
2019-06-19 05:21:35 +02:00
parent 35972aef83
commit 6d2226031a
+1 -1
View File
@@ -85,7 +85,7 @@ if [ -d "$HOME/Android/Sdk" ]; then
PATH+=":$ANDROID_SDK_ROOT/tools:$ANDROID_SDK_ROOT/platform-tools"
fi
for extras in "$GOROOT/bin" "$GOPATH/bin" "$HOME/.local/bin" "$HOME/.npm/bin" "$HOME/.pub-cache/bin" /usr/lib/dart/bin; do
[ -d "$extras" ] && PATH+=":$extras"
[ -d "$extras" ] && PATH="$extras:$PATH"
done
export DOOMWADDIR=~/dist/games/doom/wad