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 --- Completion/Base/Widget/_generic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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