zshenv: only edit default PATH if $IN_NIX_SHELL...
...is set. otherwise the default is satisfying.
This commit is contained in:
parent
1437181f17
commit
b758f5d2ee
2
.zshenv
2
.zshenv
@ -12,7 +12,7 @@ export AndroidNdkPath=$ANDROID_NDK_PATH
|
|||||||
|
|
||||||
export CCACHE_DISABLE="true"
|
export CCACHE_DISABLE="true"
|
||||||
|
|
||||||
export PATH="/sbin:/bin"
|
[ -z "$IN_NIX_SHELL" ] && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
|
||||||
|
|
||||||
|
|
||||||
add_to_path() {
|
add_to_path() {
|
||||||
|
Loading…
Reference in New Issue
Block a user