Unverified Commit f0bbef1a authored by Cxarli's avatar Cxarli Committed by Marc Cornellà

feat(yarn): add global bin directory to `$PATH` (#9410)

Fixes #9177
Closes #9410
parent 29b5c182
# Add yarn bin directory to $PATH if it exists and not in $PATH already
bindir=$(yarn global bin 2>/dev/null) \
&& [[ -d "$bindir" ]] \
&& (( ! ${path[(Ie)$bindir]} )) \
&& path+=("$bindir")
unset bindir
alias y="yarn"
alias ya="yarn add"
alias yad="yarn add --dev"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment