diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-12 21:25:12 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-12 21:25:12 +0000 |
commit | d00f73c3672b2783f14e3a27b35d34c218657506 (patch) | |
tree | 55bd4876283ca101a0d99f790c0c8c7174efa44d /Doc/Zsh/compsys.yo | |
parent | 98aaef0a46c8d9d1c34dd939fd8a470791aed2ee (diff) | |
download | zsh-d00f73c3672b2783f14e3a27b35d34c218657506.tar.gz zsh-d00f73c3672b2783f14e3a27b35d34c218657506.tar.xz zsh-d00f73c3672b2783f14e3a27b35d34c218657506.zip |
zsh-workers/7420
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r-- | Doc/Zsh/compsys.yo | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 466e612ed..025003675 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -334,8 +334,12 @@ for completing the name of a parameter expansion within braces item(tt(-first-))( for adding completions before any other other completion functions are tried (similar to the `tt(-T)' flag of tt(compctl)); if this -function sets the tt(_compskip) parameter to any value, the completion -system will not call any other function to generate matches. +function sets the tt(_compskip) parameter to `tt(all)', no other +completion functions will be called, if it is set to a string +containing `tt(patterns)', no pattern completion functions will be +called, and if it is set to a string containing `tt(default)' the +function for the `tt(-default-)' context will not be called, but +functions defined for commands will. ) item(tt(-default-))( for generating completions when no special completion function is used @@ -684,8 +688,9 @@ the tt(words) array, decrements the tt(CURRENT) parameter, then calls this function. When calling a function defined for a pattern, this function also -checks if the parameter tt(_compskip) is set. If it was set by the -function called, no further completion functions are called. With this +checks if the parameter tt(_compskip) is set and uses the value in the +same way it is used after calling the completion function for the +tt(-first-) context. With this one can write a pattern completion function that keeps other functions from being tried simply by setting this parameter to any value. ) |