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/Base/Widget | |
| parent | 19410 (diff) | |
| download | zsh-4c1e94f9512d7b3373cf768c368c8403a8f09c47.tar zsh-4c1e94f9512d7b3373cf768c368c8403a8f09c47.tar.gz zsh-4c1e94f9512d7b3373cf768c368c8403a8f09c47.tar.bz2 zsh-4c1e94f9512d7b3373cf768c368c8403a8f09c47.tar.lz zsh-4c1e94f9512d7b3373cf768c368c8403a8f09c47.tar.xz zsh-4c1e94f9512d7b3373cf768c368c8403a8f09c47.tar.zst zsh-4c1e94f9512d7b3373cf768c368c8403a8f09c47.zip | |
19409: handle situation where the user has the nounset option set
Diffstat (limited to 'Completion/Base/Widget')
| -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}:::" |
