diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-04-01 10:57:10 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-04-01 10:57:10 +0000 |
commit | 1e7c14ee356892a5f3576322b44f2724c9b73f5f (patch) | |
tree | 6cfe649cae6065f49bb75ea481c70a5490980889 /Completion/Zsh/Command/_command | |
parent | 7df454402cbcdb6cccb082c97207eed5e3896583 (diff) | |
download | zsh-1e7c14ee356892a5f3576322b44f2724c9b73f5f.tar.gz zsh-1e7c14ee356892a5f3576322b44f2724c9b73f5f.tar.xz zsh-1e7c14ee356892a5f3576322b44f2724c9b73f5f.zip |
26801: add completion for calendar function
add tracking of precommand modifiers that are in effect
Diffstat (limited to 'Completion/Zsh/Command/_command')
-rw-r--r-- | Completion/Zsh/Command/_command | 2 |
1 files changed, 2 insertions, 0 deletions
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 |