From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11718 invoked from network); 28 Jan 2000 16:47:14 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 Jan 2000 16:47:14 -0000 Received: (qmail 29967 invoked by alias); 28 Jan 2000 16:46:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9463 Received: (qmail 29959 invoked from network); 28 Jan 2000 16:46:58 -0000 To: zsh-workers@math.gatech.edu Subject: Re: match again References: <200001281005.LAA20292@beta.informatik.hu-berlin.de> X-Attribution: adl From: Alexandre Duret-Lutz Date: 28 Jan 2000 17:47:37 +0100 In-Reply-To: Sven Wischnowsky's message of "Fri, 28 Jan 2000 11:05:44 +0100 (MET)" Message-ID: User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>> "Sven" == Sven Wischnowsky 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