mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
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:
commit
3ac65fce5c
@ -71,7 +71,7 @@ if test -e /etc/NIXOS; then
|
||||
else
|
||||
emulate bash
|
||||
alias shopt=false
|
||||
if [ -z "$__NIXOS_SET_ENVIRONMENT_DONE" ]; then
|
||||
if [ -z "\$__NIXOS_SET_ENVIRONMENT_DONE" ]; then
|
||||
. /etc/set-environment
|
||||
fi
|
||||
unalias shopt
|
||||
|
Loading…
Reference in New Issue
Block a user