about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Base/Widget/_generic2
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}:::"