Merge pull request #1376 from Mic92/patch-1
nix-profile.sh: remove sbin from PATH
This commit is contained in:
commit
9e43a4a041
|
@ -85,6 +85,6 @@ if [ -n "$HOME" ] && [ -n "$USER" ]; then
|
||||||
export MANPATH="$NIX_LINK/share/man:$MANPATH"
|
export MANPATH="$NIX_LINK/share/man:$MANPATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PATH="$NIX_LINK/bin:$NIX_LINK/sbin:$__savedpath"
|
export PATH="$NIX_LINK/bin:$__savedpath"
|
||||||
unset __savedpath NIX_LINK NIX_USER_PROFILE_DIR NIX_PROFILES
|
unset __savedpath NIX_LINK NIX_USER_PROFILE_DIR NIX_PROFILES
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue