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/Zsh/Command/_command | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Completion/Zsh/Command/_command') diff --git a/Completion/Zsh/Command/_command b/Completion/Zsh/Command/_command index 72d7b6e99..7cfb52c2f 100644 --- a/Completion/Zsh/Command/_command +++ b/Completion/Zsh/Command/_command @@ -2,6 +2,8 @@ local ret +# indicate if this is a precommand modifier +[[ $service = command ]] && precommands+=(command) if [[ CURRENT -ge 3 ]]; then compset -n 2 _normal && ret=0 -- cgit 1.4.1