diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-26 15:36:10 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-26 15:36:10 +0000 |
commit | e0b26186f1d3c1a3a580eb7e8a8199c25536f4e6 (patch) | |
tree | e4247c2507fa1a135740a3cd02e7405cbdbfa69a /Completion/Core/_main_complete | |
parent | 56f338eb8bfd4bcdbf14b495ff8a34425c3527d4 (diff) | |
download | zsh-e0b26186f1d3c1a3a580eb7e8a8199c25536f4e6.tar.gz zsh-e0b26186f1d3c1a3a580eb7e8a8199c25536f4e6.tar.xz zsh-e0b26186f1d3c1a3a580eb7e8a8199c25536f4e6.zip |
manual/8424
Diffstat (limited to 'Completion/Core/_main_complete')
-rw-r--r-- | Completion/Core/_main_complete | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete index 304a97828..72233a59b 100644 --- a/Completion/Core/_main_complete +++ b/Completion/Core/_main_complete @@ -9,13 +9,8 @@ # # local _set_options _unset_options # -# if zmodload -e parameter; then -# _set_options=(${(k)options[(R)on]}) -# _unset_options=(${(k)options[(R)off]}) -# else -# _set_options=("${(@f)$({ unsetopt kshoptionprint; setopt } 2>/dev/null)}") -# _unset_options=("${(@f)$({ unsetopt kshoptionprint; unsetopt } 2>/dev/null)}") -# fi +# _set_options=(${(k)options[(R)on]}) +# _unset_options=(${(k)options[(R)off]}) # # This is needed because completion functions may set options locally # which makes the output of setopt and unsetopt reflect a different @@ -26,7 +21,7 @@ local comp post ret=1 _compskip typeset -U _lastdescr -setopt localoptions nullglob rcexpandparam +setopt localoptions nullglob rcexpandparam extendedglob unsetopt markdirs globsubst shwordsplit nounset ksharrays # Special completion contexts after `~' and `='. |