Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac 下的环境变量 #15

Open
johnwatsondev opened this issue Jan 28, 2019 · 0 comments
Open

Mac 下的环境变量 #15

johnwatsondev opened this issue Jan 28, 2019 · 0 comments

Comments

@johnwatsondev
Copy link
Owner

加载顺序

$ echo $PATH | sed $'s/:/\\\n/g'
/Users/shenxing/.nvm/versions/node/v8.11.3/bin
/Users/shenxing/bin
/Users/shenxing/.jenv/shims
/Users/shenxing/.jenv/bin
/Library/TeX/texbin
/usr/local/share/dotnet
/Users/shenxing/Development/Software/Build/gradle-2.14.1/bin
/Users/shenxing/Development/android-sdk-macosx/build-tools/27.0.3
/Users/shenxing/Development/android-sdk-macosx/emulator
/Users/shenxing/Development/android-sdk-macosx/platform-tools
/Users/shenxing/Development/android-sdk-macosx/tools/bin
/Users/shenxing/Development/android-sdk-macosx/tools
/usr/local/opt/curl/bin
/usr/local/bin
/usr/local/sbin
/usr/bin
/usr/sbin
/bin
/sbin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/sbin
/usr/local/opt/go/libexec/bin
/Users/shenxing/golang/bin
/Users/shenxing/.rvm/bin

参考

如何分割字符串

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant