diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2023-03-29 07:27:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 07:27:20 +0100 |
commit | 3ac65fce5c05275b1c81361fb956072eec183a0a (patch) | |
tree | abf1fa1cb730e5f3dfb2b617a20228b8c532ddec | |
parent | dc97ccd73ef53d688f4846792d689b0dca049bef (diff) | |
parent | 43f45fe24fd9cce3c9011c5f53cfddbe979abd39 (diff) |
Merge pull request #223696 from linj-fork/fix-zshenv-guard-variable
zsh: fix the guard variable for /etc/set-environment
-rw-r--r-- | pkgs/shells/zsh/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix index 3a5a83ad1f8c1..18fa69c604272 100644 --- a/pkgs/shells/zsh/default.nix +++ b/pkgs/shells/zsh/default.nix @@ -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 |