From 84337f60f4fa3c22a27b1c4313837b5a6cb75183 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 1 Feb 2000 13:54:11 +0000 Subject: zsh-workers/9502 --- Completion/Base/_combination | 2 +- Completion/Core/_match | 2 +- Completion/Core/_menu | 2 +- Completion/Core/compinit | 4 ++-- Completion/User/_urls | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'Completion') diff --git a/Completion/Base/_combination b/Completion/Base/_combination index a74368769..0f9673b06 100644 --- a/Completion/Base/_combination +++ b/Completion/Base/_combination @@ -11,7 +11,7 @@ # Assume an user sets the style `hosts-ports-users' as for the my-accounts # tag: # -# zstyle '*:telnet*:my-accounts' hosts-ports-users \ +# zstyle ':completion:*:telnet*:my-accounts' hosts-ports-users \ # host0:: host1::user1 host2::user2 # mail-server:{smtp,pop3}: # news-server:nntp: diff --git a/Completion/Core/_match b/Completion/Core/_match index f482b11e5..b7075b715 100644 --- a/Completion/Core/_match +++ b/Completion/Core/_match @@ -1,7 +1,7 @@ #autoload # This is intended to be used as a completer function after the normal -# completer as in: `zstyle "*" completer _complete _match'. +# completer as in: `zstyle ":completion:*" completer _complete _match'. # It temporarily switches on pattern matching, allowing you to try # completion on patterns without having to setopt glob_complete. # diff --git a/Completion/Core/_menu b/Completion/Core/_menu index 4caa2b03f..7f8035098 100644 --- a/Completion/Core/_menu +++ b/Completion/Core/_menu @@ -6,7 +6,7 @@ local curcontext="${curcontext}:menu" # implemented with the new completion system. # Use this one before the normal _complete completer, as in: # -# zstyle "*" completer _menu _complete +# zstyle ":completion:*" completer _menu _complete if [[ -n "$compstate[old_list]" ]]; then diff --git a/Completion/Core/compinit b/Completion/Core/compinit index b14e32a89..bfb697279 100644 --- a/Completion/Core/compinit +++ b/Completion/Core/compinit @@ -358,7 +358,7 @@ Have fun tmp="'*:options' prefix-needed yes" [[ "$val" = hide* ]] && tmp="$tmp -zstyle '*:options' prefix-hidden yes" +zstyle ':completion*:options' prefix-hidden yes" ;; group_matches) tmp="'*' group-name ''" @@ -403,7 +403,7 @@ zstyle '*:options' prefix-hidden yes" tmp="'*' last-prompt 'yes'" ;; esac - [[ -n "$tmp" ]] && style="${style}${cmt}zstyle ${tmp} + [[ -n "$tmp" ]] && style="${style}${cmt}zstyle :completion${tmp} " done diff --git a/Completion/User/_urls b/Completion/User/_urls index e7269f0c3..d8a6f06f5 100644 --- a/Completion/User/_urls +++ b/Completion/User/_urls @@ -6,7 +6,7 @@ # # Configuration styles used: # -# urls:path +# path # The path to a directory containing a URL database, such as: # # % cd ~/.zsh/urls @@ -29,14 +29,14 @@ # % cat bookmark/zsh/meta # http://www.zsh.org/ # -# urls:local +# local # Specify a local web server as an array with three elements: # # where hostname is the name of the web server, doc root is the path to # the default web pages for the server and user area is the directory # name used by a user placing web pages within their home area. # E.g.: -# zstyle '*:urls:local' www /usr/local/apache/htdocs public_html +# zstyle ':completion:*:urls' local www /usr/local/apache/htdocs public_html local ipre scheme host user uhosts ret=1 expl local urls_path localhttp -- cgit 1.4.1