.profile: Simplify path patching even more

This commit is contained in:
Salt 2020-06-01 16:31:34 -05:00
parent 4a5af0aaa7
commit c0129ab7df

View File

@ -25,20 +25,10 @@
_baseshell="$(basename -- "$0")" _baseshell="$(basename -- "$0")"
# Patch PATH # Patch PATH
unset PATH
for dir in \ for dir in \
"$HOME/.bin" \ "$HOME/.bin" \
"$HOME/.local/bin" \ "$HOME/.local/bin" \
"$HOME/.firestarter" \ "$HOME/.firestarter" \
"/usr/games" \
"/usr/local/games" \
"/snap/bin" \
"/sbin" \
"/bin" \
"/usr/sbin" \
"/usr/bin" \
"/usr/local/sbin" \
"/usr/local/bin" \
"/usr/local/opt/coreutils/libexec/gnubin" \ "/usr/local/opt/coreutils/libexec/gnubin" \
"/usr/local/opt/gnu-sed/libexec/gnubin" \ "/usr/local/opt/gnu-sed/libexec/gnubin" \
"/usr/local/opt/grep/libexec/gnubin" \ "/usr/local/opt/grep/libexec/gnubin" \