diff options
Diffstat (limited to 'Completion/Core/_menu')
-rw-r--r-- | Completion/Core/_menu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Core/_menu b/Completion/Core/_menu index 7f8035098..5ec1a1a55 100644 --- a/Completion/Core/_menu +++ b/Completion/Core/_menu @@ -1,12 +1,12 @@ #autoload -local curcontext="${curcontext}:menu" +local curcontext="${curcontext/:[^:]#:/:menu:}" # This completer is an example showing how menucompletion can be # implemented with the new completion system. # Use this one before the normal _complete completer, as in: # -# zstyle ":completion:*" completer _menu _complete +# zstyle ":completion:::::" completer _menu _complete if [[ -n "$compstate[old_list]" ]]; then |