mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 14:53:52 +00:00
7d84dbdf5b
When a script specifies the shell option “nounset” as part of the shebang (e.g., via “#!/usr/bin/env -S zsh -u”), our initialization scripts would produce error messages of the form: __ETC_FOO_SOURCED: parameter not set These messages could probably be confusing to users when running such scripts. By providing a fall-back in the parameter expansion, we can avoid them. This patch does not address interactive shell start-up, where such messages may (or may not) be less problematic. |
||
---|---|---|
.. | ||
oh-my-zsh.nix | ||
oh-my-zsh.xml | ||
zinputrc | ||
zsh-autoenv.nix | ||
zsh-autosuggestions.nix | ||
zsh-syntax-highlighting.nix | ||
zsh.nix |