diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2004-02-10 19:16:16 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2004-02-10 19:16:16 +0000 |
commit | 4c1e94f9512d7b3373cf768c368c8403a8f09c47 (patch) | |
tree | f723bb8afd38b504f8a7dc4f563a882923cea26d /Completion | |
parent | 4767d72e6f19352fffd287cdb315ab091681efd8 (diff) | |
download | zsh-4c1e94f9512d7b3373cf768c368c8403a8f09c47.tar.gz zsh-4c1e94f9512d7b3373cf768c368c8403a8f09c47.tar.xz zsh-4c1e94f9512d7b3373cf768c368c8403a8f09c47.zip |
19409: handle situation where the user has the nounset option set
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Base/Widget/_generic | 2 |
1 files changed, 1 insertions, 1 deletions
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}:::" |