.profile: Correct PATH additions

This commit is contained in:
Salt 2018-11-21 23:34:43 -06:00
parent bd224ff130
commit 1234631a64

View File

@ -31,7 +31,7 @@ export EDITOR="vi"
which vim > /dev/null 2>&1 && export EDITOR="vim"
# Patch PATH
desiredpath="/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/games:/usr/games:$HOME/.local/bin:$HOME/.local/bin/pip"
desiredpath="/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/games:/usr/games:$HOME/.bin:$HOME/.local/bin"
# Here, we eliminate the parts of the environment-supplied PATH that we already
# plan on using
IFS=":"