-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix running in shells with -u
/-o nounset
option set
#299
base: master
Are you sure you want to change the base?
Conversation
Synchronized from rupa/z#299
interesting
|
I just like seeing error messages when mistyping variable names. Except for having submit patches to OMZ every now and then, there is nothing “hard mode” at all about this. 😛
I tend to avoid writing it that way to reduce namespace pollution a bit, but if you prefer it that way I don't mind updating the PR accordingly. |
ah fair, namespace pollution. Let me think about that a bit - I was definitely more concerned with avoiding it when I first wrote this tool, than I am now - but it's still definitely on my mind. thanks for letting me know the details of your use case - makes sense, just never really occured to me :) |
Hello. I don't know if this is worth adding onto this PR (since I found it from the same issues as above) but 213 is missing a [ -z "${_Z_NO_RESOLVE_SYMLINKS+x}" ] || _Z_RESOLVE_SYMLINKS="-P"
if type compctl >/dev/null 2>&1; then
# zsh
[ "-z ${_Z_NO_PROMPT_COMMAND+x}" ] || { Changes |
No description provided.