about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-07-17 09:06:05 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-07-17 09:06:05 +0000
commit5452be3a4ac5fcb587981625d1a4e5ccb503f652 (patch)
tree97313237f10c0c174b2bc27cf9b369b7529dfcac /Doc/Zsh
parent027604400ba98f4c947784fc691dc7c93b9bf366 (diff)
downloadzsh-5452be3a4ac5fcb587981625d1a4e5ccb503f652.tar.gz
zsh-5452be3a4ac5fcb587981625d1a4e5ccb503f652.tar.xz
zsh-5452be3a4ac5fcb587981625d1a4e5ccb503f652.zip
15400
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/compsys.yo10
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