diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | Completion/Base/Widget/_generic | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index fad79a9b1..38e6c6724 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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> * 19410: Src/Zle/compmatch.c: Another fix to avoid a match that diff --git a/Completion/Base/Widget/_generic b/Completion/Base/Widget/_generic index 9a6b4401f..8a943d281 100644 --- a/Completion/Base/Widget/_generic +++ b/Completion/Base/Widget/_generic @@ -1,6 +1,6 @@ #autoload -local curcontext="$curcontext" +local curcontext="${curcontext:-}" if [[ -z "$curcontext" ]]; then curcontext="${WIDGET}:::" |