diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-19 09:32:30 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-19 09:32:30 +0000 |
commit | 2769b198812abf82cc3b074852714959213f266a (patch) | |
tree | 9e04e9f98e6974108c8e8e6511f29df62ff56bcb /Doc/Zsh/compsys.yo | |
parent | 207758992aed766b96e511bf067b6505c9e783cd (diff) | |
download | zsh-2769b198812abf82cc3b074852714959213f266a.tar.gz zsh-2769b198812abf82cc3b074852714959213f266a.tar.xz zsh-2769b198812abf82cc3b074852714959213f266a.zip |
improve filename completion; use accept-exact for in-path completion; new fake style (11971)
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r-- | Doc/Zsh/compsys.yo | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 82a9fd5fe..2afd505fc 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -780,6 +780,13 @@ matches. If it is set to `true' for at least one match which is the same as the string on the line, this match will immediately be accepted. +When completing filenames (where it is looked up for the tt(files) +tag), this style also accepts any number of patterns as the value. If +this is used, pathnames matching one of these patterns will be +accepted immediately even if the command line contains some more +partially typed pathname components and these match no file under the +directory accepted. + Note that this is also used by the tt(_expand) completer to decide if words beginning with a tilde or parameter expansion should be expanded. This means that if, for example, there are parameters @@ -968,6 +975,17 @@ generated this way (e.g. due to the option tt(AUTO_MENU) being set), this will also cycle through the names of the files in pathname components after the first ambiguous one. ) +kindex(fake, completion style) +item(tt(fake))( +Currently, this style is only used when completing files and lookup up +with the tag tt(files). Its values are of the form +`var(dir)tt(:)var(names...)'. This will add the var(names) as +possible matches when completing in the directory var(dir), even if no +such files really exist. + +This can be useful on systems that support special filesystems whose +top-level pathnames can not be listed or generated with glob patterns. +) kindex(file-patterns, completion style) item(tt(file-patterns))( In most places where filenames are completed, the function tt(_files) |