From 1e7c14ee356892a5f3576322b44f2724c9b73f5f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 1 Apr 2009 10:57:10 +0000 Subject: 26801: add completion for calendar function add tracking of precommand modifiers that are in effect --- Completion/Base/Core/_main_complete | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Completion/Base') diff --git a/Completion/Base/Core/_main_complete b/Completion/Base/Core/_main_complete index b6f676d43..a2bf8e144 100644 --- a/Completion/Base/Core/_main_complete +++ b/Completion/Base/Core/_main_complete @@ -32,6 +32,9 @@ local func funcs ret=1 tmp _compskip format nm call match min max i num\ _saved_insert="${compstate[insert]}" \ _saved_colors="$ZLS_COLORS" +# _precommand sets this to indicate we are following a precommand modifier +local -a precommands + typeset -U _lastdescr _comp_ignore _comp_colors [[ -z "$curcontext" ]] && curcontext=::: -- cgit 1.4.1