From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10172 invoked from network); 6 Jan 2000 08:04:56 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Jan 2000 08:04:56 -0000 Received: (qmail 9280 invoked by alias); 6 Jan 2000 08:04:50 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9233 Received: (qmail 9273 invoked from network); 6 Jan 2000 08:04:49 -0000 To: zsh-workers@sunsite.auc.dk Subject: completion with prefix which contains meta character. MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 06 Jan 2000 17:04:47 +0900 Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) I tried to complete with prefix `*' but zsh doesn't work well. Z(2):akr@is27e1u11% Src/zsh -f is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst is27e1u11% _tst () { compadd -P '*' xxx } is27e1u11% tst \* This doesn't complete anything. is27e1u11% _tst () { compadd -P '\*' xxx } is27e1u11% tst \* This doesn't complete anything too. is27e1u11% _tst () { compadd -P '\\*' xxx } is27e1u11% tst \* -> is27e1u11% tst \\*xxx This re-quotes `\'. Anyway, current behaviour is unusable. -- Tanaka Akira