From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14044 invoked from network); 27 Jul 1999 09:53:50 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Jul 1999 09:53:49 -0000 Received: (qmail 4494 invoked by alias); 27 Jul 1999 09:53:33 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7291 Received: (qmail 4487 invoked from network); 27 Jul 1999 09:53:31 -0000 To: zsh-workers@sunsite.auc.dk Subject: Completion problems. 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: 27 Jul 1999 18:53:19 +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 found a problem about the conditional expression for completion. is27e1u11% autoload -U compinit; compinit -D is27e1u11% _tst () { if [[ -prefix */ ]]; then compadd ../t; else compadd ../f; fi } is27e1u11% compdef _tst tst is27e1u11% tst ../ Then, I get: is27e1u11% tst ../f I think it should be "../t ". -- Tanaka Akira