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/Base/Core | |
| 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/Base/Core')
| -rw-r--r-- | Completion/Base/Core/_main_complete | 3 |
1 files changed, 3 insertions, 0 deletions
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=::: |
