ensure local bin is on path
This commit is contained in:
parent
bdf44f2e8a
commit
6d3fb5c89e
4
zsh/rc
4
zsh/rc
@ -33,10 +33,14 @@ SET_PREFERRED_EDITOR() {
|
||||
export EDITOR="$AVAILABLE_EDITOR"
|
||||
export VISUAL="$AVAILABLE_EDITOR"
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
for p in $INTERNAL_PLUGINS; do source $p; done
|
||||
for p in $EXTERNAL_PLUGINS; do [ -f $p ] && source $p; done
|
||||
SET_PREFERRED_EDITOR
|
||||
WELCOME
|
||||
|
||||
echo $PATH | grep -q "^\\(.*:\\|\\)$HOME/.local/bin\\(:.*\\|\\)$" \
|
||||
|| export PATH="$HOME/.local/bin:$PATH"
|
||||
#####################################################################
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user