1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 10:01:11 +02:00

Other places where `unsetopt cshnullglob' is needed.

This commit is contained in:
Bart Schaefer 2000-10-06 05:18:25 +00:00
parent dc1527ce76
commit 2f2a33b2ea
9 changed files with 27 additions and 16 deletions

View file

@ -1,3 +1,14 @@
2000-10-05 Bart Schaefer <schaefer@zsh.org>
* 12912: Completion/Commands/_bash_completions,
Completion/Commands/_complete_debug,
Completion/Commands/_complete_help,
Completion/Commands/_correct_word,
Completion/Commands/_expand_word,
Completion/Commands/_history_complete_word,
Completion/Commands/_next_tags, Completion/Core/_main_complete:
Other places where `unsetopt cshnullglob' is needed.
2000-10-05 Sven Wischnowsky <wischnow@zsh.org>
* 12901: Doc/Zsh/compwid.yo, Doc/Zsh/manual.yo: cleanup for 12896

View file

@ -25,8 +25,8 @@
# that will not have been overridden, so you should add '~' to the
# list of keys at the top of the for-loop.
setopt localoptions nullglob rcexpandparam extendedglob noshglob
unsetopt markdirs globsubst shwordsplit nounset ksharrays
setopt localoptions nullglob rcexpandparam extendedglob unset
unsetopt markdirs globsubst shwordsplit shglob ksharrays cshnullglob
local key=$KEYS[-1] expl

View file

@ -1,7 +1,7 @@
#compdef -k complete-word \C-x?
setopt localoptions nullglob rcexpandparam extendedglob noshglob
unsetopt markdirs globsubst shwordsplit nounset ksharrays
setopt localoptions nullglob rcexpandparam extendedglob unset
unsetopt markdirs globsubst shwordsplit shglob ksharrays cshnullglob
setopt localtraps noerrexit ; trap - ZERR

View file

@ -1,8 +1,8 @@
#compdef -k complete-word \C-xh
_complete_help() {
setopt localoptions nullglob rcexpandparam extendedglob noshglob
unsetopt markdirs globsubst shwordsplit nounset ksharrays
setopt localoptions nullglob rcexpandparam extendedglob unset
unsetopt markdirs globsubst shwordsplit shglob ksharrays cshnullglob
exec </dev/null # ZLE closes stdin, which can cause errors
local _sort_tags=_help_sort_tags text i j k

View file

@ -7,8 +7,8 @@
# If configurations keys with the prefix `correctword_' are
# given they override those starting with `correct_'.
setopt localoptions nullglob rcexpandparam extendedglob noshglob
unsetopt markdirs globsubst shwordsplit nounset ksharrays
setopt localoptions nullglob rcexpandparam extendedglob unset
unsetopt markdirs globsubst shwordsplit shglob ksharrays cshnullglob
local curcontext="$curcontext"

View file

@ -2,8 +2,8 @@
# Simple completion front-end implementing expansion.
setopt localoptions nullglob rcexpandparam extendedglob noshglob
unsetopt markdirs globsubst shwordsplit nounset ksharrays
setopt localoptions nullglob rcexpandparam extendedglob unset
unsetopt markdirs globsubst shwordsplit shglob ksharrays cshnullglob
local curcontext="$curcontext"
local -ah completers

View file

@ -16,8 +16,8 @@
# range -- range of history words to complete
_history_complete_word () {
setopt localoptions nullglob rcexpandparam extendedglob noshglob
unsetopt markdirs globsubst shwordsplit nounset ksharrays
setopt localoptions nullglob rcexpandparam extendedglob unset
unsetopt markdirs globsubst shwordsplit shglob ksharrays cshnullglob
local expl direction stop curcontext="$curcontext"
local max slice hmax=$#historywords

View file

@ -3,8 +3,8 @@
# Main widget.
_next_tags() {
setopt localoptions nullglob rcexpandparam extendedglob noshglob
unsetopt markdirs globsubst shwordsplit nounset ksharrays
setopt localoptions nullglob rcexpandparam extendedglob unset
unsetopt markdirs globsubst shwordsplit shglob ksharrays cshnullglob
local ins ops="$PREFIX$SUFFIX"

View file

@ -16,8 +16,8 @@
# which makes the output of setopt and unsetopt reflect a different
# state than the global one for which you are completing.
setopt localoptions nullglob rcexpandparam extendedglob noshglob \
nomarkdirs noglobsubst noshwordsplit unset noksharrays nocshnullglob
setopt localoptions nullglob rcexpandparam extendedglob unset
unsetopt markdirs globsubst shwordsplit shglob ksharrays cshnullglob
exec </dev/null # ZLE closes stdin, which can cause errors
# Failed returns from this code are not real errors