mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-18 00:51:07 +02:00
19409: handle situation where the user has the nounset option set
This commit is contained in:
parent
4767d72e6f
commit
4c1e94f951
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2004-02-10 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 19415: Doc/Zsh/options.yo: fix documentation to indicate that
|
||||||
|
short_loops option is applicable to repeat loops too
|
||||||
|
|
||||||
|
* 19409: Completion/Base/Widget/_generic: handle situation where
|
||||||
|
the user has the nounset option set
|
||||||
|
|
||||||
2004-02-09 Wayne Davison <wayned@users.sourceforge.net>
|
2004-02-09 Wayne Davison <wayned@users.sourceforge.net>
|
||||||
|
|
||||||
* 19410: Src/Zle/compmatch.c: Another fix to avoid a match that
|
* 19410: Src/Zle/compmatch.c: Another fix to avoid a match that
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#autoload
|
#autoload
|
||||||
|
|
||||||
local curcontext="$curcontext"
|
local curcontext="${curcontext:-}"
|
||||||
|
|
||||||
if [[ -z "$curcontext" ]]; then
|
if [[ -z "$curcontext" ]]; then
|
||||||
curcontext="${WIDGET}:::"
|
curcontext="${WIDGET}:::"
|
||||||
|
|
Loading…
Reference in a new issue