Added yarn global bin to path.
This commit is contained in:
parent
61145e0de9
commit
0f3768508f
|
@ -72,6 +72,10 @@ env_loader(){
|
||||||
[ -e ${ZDIR}/environment/host/$HOST/$1 ] && source ${ZDIR}/environment/host/$HOST/$1
|
[ -e ${ZDIR}/environment/host/$HOST/$1 ] && source ${ZDIR}/environment/host/$HOST/$1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (( $+commands[yarn] )) ; then
|
||||||
|
export PATH="$(yarn global bin):$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
user_script_dir=~/.scripts
|
user_script_dir=~/.scripts
|
||||||
if [ -d $user_script_dir ] ; then
|
if [ -d $user_script_dir ] ; then
|
||||||
export PATH="$user_script_dir:$PATH"
|
export PATH="$user_script_dir:$PATH"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user