Skip to content

Commit

Permalink
Create yarn.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kamontat committed Sep 21, 2020
1 parent 41e56f0 commit e5fa5e4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions settings/yarn.sh
@@ -0,0 +1,11 @@
# shellcheck disable=SC1090,SC2148

_myzs:internal:module:initial "$0"

export NODE_LTS_PATH="/usr/local/opt/node@12/bin"
_myzs:internal:path-append "$NODE_LTS_PATH"

if _myzs:internal:checker:command-exist "yarn"; then
export CYARN_BIN="$(yarn global bin)"
_myzs:internal:path-append "$CYARN_BIN"
fi

0 comments on commit e5fa5e4

Please sign in to comment.