From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12263 invoked from network); 7 Jul 2006 18:29:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Jul 2006 18:29:39 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 89564 invoked from network); 7 Jul 2006 18:29:31 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Jul 2006 18:29:31 -0000 Received: (qmail 29106 invoked by alias); 7 Jul 2006 18:29:24 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10492 Received: (qmail 29096 invoked from network); 7 Jul 2006 18:29:23 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Jul 2006 18:29:23 -0000 Received: (qmail 88583 invoked from network); 7 Jul 2006 18:29:23 -0000 Received: from ug-out-1314.google.com (66.249.92.170) by a.mx.sunsite.dk with SMTP; 7 Jul 2006 18:29:23 -0000 Received: by ug-out-1314.google.com with SMTP id m2so706811ugc for ; Fri, 07 Jul 2006 11:29:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=f96uhXHDPhRBSc2R7wxLdJoBuaFGGEpQ/sR28seJMUcUa3Sg45+kbDb2oArjrstlU90NYqpdaTIAi10zRrD0iGZi78Vlkg5rpObh6sufxyTgUyux29cKBn4wjb/NSBvgIHVdGVHkJNf33Xt0AwQFD3ZdGwqWK9aS3CjFVn/Kx0I= Received: by 10.78.151.15 with SMTP id y15mr831808hud; Fri, 07 Jul 2006 11:29:21 -0700 (PDT) Received: by 10.78.178.20 with HTTP; Fri, 7 Jul 2006 11:29:21 -0700 (PDT) Message-ID: Date: Fri, 7 Jul 2006 20:29:21 +0200 From: "Nikolai Weibull" Sender: nikolai.weibull@gmail.com To: "Zsh Users' List" Subject: Is there a way to do an automatic list-choices after successful completion of directory name? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: c621023cddee90c1 I would like list-choices to be run whenever I have completed a directory name, e.g., $ cd ~/p completes to $ cd ~/projects/ Once completed, I'd like list-choices to be called so that I can see what directories I have under ~/projects immediately, instead of having to type another right after the first one. I assume I'll have to write my own completer that I'll bind to that first does a call to _complete somehow, but how do I then tell if a directory name is what has been completed? Thanks. nikolai