zshenv: only edit default PATH if $IN_NIX_SHELL...

...is set.
otherwise the default is satisfying.
This commit is contained in:
surtur 2022-05-02 23:45:36 +02:00
parent 1437181f17
commit b758f5d2ee
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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() {