about summary refs log tree commit diff
path: root/Completion/Core/_menu
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Core/_menu')
-rw-r--r--Completion/Core/_menu6
1 files changed, 1 insertions, 5 deletions
diff --git a/Completion/Core/_menu b/Completion/Core/_menu
index e9558fe05..5b864c6a1 100644
--- a/Completion/Core/_menu
+++ b/Completion/Core/_menu
@@ -1,10 +1,6 @@
 #autoload
 
-local curcontext="$curcontext"
-
-# Probably set initial context.
-
-[[ -z "$curcontext" ]] && curcontext=':menu'
+local curcontext="${curcontext}:menu"
 
 # This completer is an example showing how menucompletion can be
 # implemented with the new completion system.