Move home bin folder registration in PATH to top of profile script.
Fixes the issue where the user-installed Python scripts are no longer found in PATH.master
parent
dc69589b62
commit
2db976107a
|
@ -65,6 +65,14 @@ log() {
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Actual profile code from here
|
# Actual profile code from here
|
||||||
|
|
||||||
|
# home bin
|
||||||
|
section "home bin"
|
||||||
|
if [ $PROFILE_BIN -gt 0 ]; then
|
||||||
|
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
|
||||||
|
export PATH
|
||||||
|
fi
|
||||||
|
section_end
|
||||||
|
|
||||||
section "thefuck"
|
section "thefuck"
|
||||||
if [ $PROFILE_THEFUCK -gt 0 ]; then
|
if [ $PROFILE_THEFUCK -gt 0 ]; then
|
||||||
eval "$(thefuck --alias)"
|
eval "$(thefuck --alias)"
|
||||||
|
@ -164,14 +172,6 @@ if [ $PROFILE_NODE -gt 0 ]; then
|
||||||
fi
|
fi
|
||||||
section_end
|
section_end
|
||||||
|
|
||||||
# home bin
|
|
||||||
section "home bin"
|
|
||||||
if [ $PROFILE_BIN -gt 0 ]; then
|
|
||||||
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
|
|
||||||
export PATH
|
|
||||||
fi
|
|
||||||
section_end
|
|
||||||
|
|
||||||
# alias
|
# alias
|
||||||
section "alias"
|
section "alias"
|
||||||
if [ $PROFILE_ALIAS -gt 0 ]; then
|
if [ $PROFILE_ALIAS -gt 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue