Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: match again



>>> "Sven" == Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:

[...]

 Sven> [ Time to use zstyle instead of compstyle (but maybe you just used it
 Sven> for output?). ]

[...]

compinit was still generating a ~/.zsh-styles using compstyle, 
was it intentional?


Index: Completion/User/_urls
--- Completion/User/_urls Mon, 24 Jan 2000 13:13:23 +0100 Alexandre
+++ Completion/User/_urls Fri, 28 Jan 2000 17:39:44 +0100 Alexandre
@@ -36,7 +36,7 @@
 #    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.:
-#      compstyle '*:urls:local' www /usr/local/apache/htdocs public_html
+#      zstyle '*:urls:local' www /usr/local/apache/htdocs public_html
 
 local ipre scheme host user uhosts ret=1 expl
 local urls_path localhttp
Index: Completion/Core/compinit
--- Completion/Core/compinit Tue, 04 Jan 2000 16:18:39 +0100 Alexandre
+++ Completion/Core/compinit Fri, 28 Jan 2000 17:39:08 +0100 Alexandre
@@ -358,7 +358,7 @@
       tmp="'*:options' prefix-needed yes"
       [[ "$val" = hide* ]] &&
           tmp="$tmp
-compstyle '*:options' prefix-hidden yes"
+zstyle '*:options' prefix-hidden yes"
       ;;    
     group_matches)
       tmp="'*' group-name ''"
@@ -403,7 +403,7 @@
       tmp="'*' last-prompt 'yes'"
       ;;
     esac
-    [[ -n "$tmp" ]] && style="${style}${cmt}compstyle ${tmp}
+    [[ -n "$tmp" ]] && style="${style}${cmt}zstyle ${tmp}
 "
   done
 
Index: Completion/Core/_menu
--- Completion/Core/_menu Fri, 31 Dec 1999 13:32:44 +0100 Alexandre
+++ Completion/Core/_menu Fri, 28 Jan 2000 16:11:35 +0100 Alexandre
@@ -6,7 +6,7 @@
 # implemented with the new completion system.
 # Use this one before the normal _complete completer, as in:
 #
-#   compstyle "*" completer _menu _complete
+#   zstyle "*" completer _menu _complete
 
 if [[ -n "$compstate[old_list]" ]]; then
 
Index: Completion/Core/_match
--- Completion/Core/_match Fri, 31 Dec 1999 13:32:44 +0100 Alexandre
+++ Completion/Core/_match Fri, 28 Jan 2000 16:11:19 +0100 Alexandre
@@ -1,7 +1,7 @@
 #autoload
 
 # This is intended to be used as a completer function after the normal
-# completer as in: `compstyle "*" completer _complete _match'.
+# completer as in: `zstyle "*" completer _complete _match'.
 # It temporarily switches on pattern matching, allowing you to try 
 # completion on patterns without having to setopt glob_complete.
 #
Index: Completion/Base/_combination
--- Completion/Base/_combination Fri, 31 Dec 1999 13:32:44 +0100 Alexandre
+++ Completion/Base/_combination Fri, 28 Jan 2000 16:10:40 +0100 Alexandre
@@ -11,7 +11,7 @@
 #  Assume an user sets the style `hosts-ports-users' as for the my-accounts
 #  tag:
 #
-#    compstyle '*:telnet*:my-accounts' hosts-ports-users \
+#    zstyle '*:telnet*:my-accounts' hosts-ports-users \
 #      host0:: host1::user1 host2::user2
 #      mail-server:{smtp,pop3}:
 #      news-server:nntp:

-- 
Alexandre Duret-Lutz



Messages sorted by: Reverse Date, Date, Thread, Author