diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-07-17 09:04:29 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-07-17 09:04:29 +0000 |
commit | 72b56dc45866bdd645e92d32ef4dd0aacd8da792 (patch) | |
tree | f8cc05e54c2b577cd9b4499b0b6ad66f555e1310 /Doc/Zsh/compsys.yo | |
parent | 0d3bfa66c1e005567a9588f04a54431699c0294b (diff) | |
download | zsh-72b56dc45866bdd645e92d32ef4dd0aacd8da792.tar.gz zsh-72b56dc45866bdd645e92d32ef4dd0aacd8da792.tar.xz zsh-72b56dc45866bdd645e92d32ef4dd0aacd8da792.zip |
add preserve-prefix style to keep pathname prefix unchanged (15400)
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r-- | Doc/Zsh/compsys.yo | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index aedad700d..c5260245a 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -1834,6 +1834,16 @@ all. The default style for this style is `true'. ) +kindex(preserve-prefix, completion style) +item(tt(preserve-prefix))( +This style is used when completing path names. Its value should be a +pattern matching an initial prefix of the word to complete that should +be left unchanged under all circumstances. For example, on some Unices +an initial `tt(//)' (double slash) has a special meaning and hence +should be kept. For that one could set this style to the string +`tt(//)'. As another example, setting this style to `tt(?:/)' under +Cygwin would allow completion after `tt(a:/...)' and the like. +) kindex(range, completion style) item(tt(range))( This is used by the tt(_history) completer and the |