diff --git a/zsh/zshenv b/zsh/zshenv index 068112f..da02072 100644 --- a/zsh/zshenv +++ b/zsh/zshenv @@ -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"