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 /Completion/Zsh/Command | |
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 'Completion/Zsh/Command')
-rw-r--r-- | Completion/Zsh/Command/_zstyle | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle index 003ec4d9f..37590f0d9 100644 --- a/Completion/Zsh/Command/_zstyle +++ b/Completion/Zsh/Command/_zstyle @@ -75,6 +75,7 @@ styles=( ports c:_ports prefix-hidden c:bool prefix-needed c:bool + preserve-prefix c:preserve-prefix range c: regular c:bool remote-access c:bool @@ -304,6 +305,10 @@ while [[ -n $state ]]; do _wanted values expl 'insert unambiguous string' compadd true false pattern ;; + preserve-prefix) + _message 'pattern matching prefix to keep' + ;; + urgh) _wanted values expl no compadd no false off 0 ;; |