Skip to content
Myr

Fix zsh $+name syntax does not work with setopt ksh_arrays (#4084)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by 林千里 · committed by GitHub · parent 3ec035c · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:shell/completion.zsh+1 added-1 removed
306 unmodified lines
307 local tokens prefix trigger tail matches lbuf d_cmds308 setopt localoptions noshwordsplit noksh_arrays noposixbuiltins309310 # Check if at least one completion system (old or new) is active311 if ! zmodload -F zsh/parameter p:functions 2>/dev/null || ! (( $+functions[compdef] )); then311 if ! zmodload -F zsh/parameter p:functions 2>/dev/null || ! (( ${+functions[compdef]} )); then312 if ! zmodload -e zsh/compctl; then313 zmodload -i zsh/compctl314 fi315 fi
67 unmodified lines
modified:shell/key-bindings.zsh+1 added-1 removed