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/_precommand | |
| parent | 26797: yet more changes to posix_aliases information (diff) | |
| download | zsh-1e7c14ee356892a5f3576322b44f2724c9b73f5f.tar zsh-1e7c14ee356892a5f3576322b44f2724c9b73f5f.tar.gz zsh-1e7c14ee356892a5f3576322b44f2724c9b73f5f.tar.bz2 zsh-1e7c14ee356892a5f3576322b44f2724c9b73f5f.tar.lz zsh-1e7c14ee356892a5f3576322b44f2724c9b73f5f.tar.xz zsh-1e7c14ee356892a5f3576322b44f2724c9b73f5f.tar.zst zsh-1e7c14ee356892a5f3576322b44f2724c9b73f5f.zip | |
26801: add completion for calendar function
add tracking of precommand modifiers that are in effect
Diffstat (limited to 'Completion/Zsh/Command/_precommand')
| -rw-r--r-- | Completion/Zsh/Command/_precommand | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_precommand b/Completion/Zsh/Command/_precommand index f45688fc7..12f45ca31 100644 --- a/Completion/Zsh/Command/_precommand +++ b/Completion/Zsh/Command/_precommand @@ -1,5 +1,8 @@ #compdef - nohup eval time rusage noglob nocorrect exec catchsegv aoss +# precommands is made local in _main_complete +precommands+=($words[1]) + shift words (( CURRENT-- )) |
