From 72b56dc45866bdd645e92d32ef4dd0aacd8da792 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 17 Jul 2001 09:04:29 +0000 Subject: add preserve-prefix style to keep pathname prefix unchanged (15400) --- Completion/Zsh/Command/_zstyle | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Completion/Zsh') 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 ;; -- cgit 1.4.1