add npm bin dir to /Users/sjs/.rbenv/shims:/usr/local/bin:/usr/local/android/platform-tools:/usr/local/android/tools:/Users/sjs/.rbenv/bin:/Users/sjs/bin:/usr/sbin:/sbin:/usr/bin:/bin:/Applications/Xcode.app/Contents/Developer/usr/bin
This commit is contained in:
parent
ae9dbea9e1
commit
4168fc021b
1 changed files with 1 additions and 1 deletions
2
zshenv
2
zshenv
|
|
@ -1,4 +1,4 @@
|
||||||
custom_paths=(/sbin /usr/sbin $HOME/bin $HOME/.rbenv/bin /usr/local/android/tools /usr/local/android/platform-tools /usr/local/bin)
|
custom_paths=(/sbin /usr/sbin $HOME/bin $HOME/.rbenv/bin /usr/local/android/tools /usr/local/android/platform-tools /usr/local/bin /usr/local/share/npm/bin)
|
||||||
for dir in $custom_paths; do
|
for dir in $custom_paths; do
|
||||||
if [[ -d "$dir" ]]; then
|
if [[ -d "$dir" ]]; then
|
||||||
path=($dir $path)
|
path=($dir $path)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue