From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26353 invoked from network); 25 Oct 1999 15:03:28 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 25 Oct 1999 15:03:28 -0000 Received: (qmail 28028 invoked by alias); 25 Oct 1999 15:03:16 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8414 Received: (qmail 28018 invoked from network); 25 Oct 1999 15:03:10 -0000 To: zsh-workers@sunsite.auc.dk Subject: compstate[context] 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: 26 Oct 1999 00:02:56 +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) When a completion is attempt after "A='", compstate[context] become "command". Z:akr@is27e1u11% Src/zsh -f is27e1u11% bindkey -e; fpath=($PWD/Completion/*(/)); autoload -U compinit; compinit -D; compdef _tst tst is27e1u11% set -x is27e1u11% A=' ... +_complete:33> [[ command == command ]] ... # Note that the line 33 of _complete is: # if [[ "$compstate[context]" = command ]]; then I think it should be "value". -- Tanaka Akira