Added yarn global bin to path.

This commit is contained in:
James Patrick 2020-02-10 22:31:43 -05:00
parent 61145e0de9
commit 0f3768508f

View File

@ -72,6 +72,10 @@ env_loader(){
[ -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
if [ -d $user_script_dir ] ; then
export PATH="$user_script_dir:$PATH"