From 4c1e94f9512d7b3373cf768c368c8403a8f09c47 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 10 Feb 2004 19:16:16 +0000 Subject: 19409: handle situation where the user has the nounset option set --- ChangeLog | 8 ++++++++ Completion/Base/Widget/_generic | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fad79a9b1..38e6c6724 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-02-10 Oliver Kiddle + + * 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 * 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}:::" -- cgit 1.4.1