Merge pull request #223696 from linj-fork/fix-zshenv-guard-variable

zsh: fix the guard variable for /etc/set-environment
This commit is contained in:
Jörg Thalheim 2023-03-29 07:27:20 +01:00 committed by GitHub
commit 3ac65fce5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ if test -e /etc/NIXOS; then
else else
emulate bash emulate bash
alias shopt=false alias shopt=false
if [ -z "$__NIXOS_SET_ENVIRONMENT_DONE" ]; then if [ -z "\$__NIXOS_SET_ENVIRONMENT_DONE" ]; then
. /etc/set-environment . /etc/set-environment
fi fi
unalias shopt unalias shopt