From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14145 invoked from network); 17 Apr 1999 21:01:06 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Apr 1999 21:01:06 -0000 Received: (qmail 13211 invoked by alias); 17 Apr 1999 21:00:50 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2309 Received: (qmail 13204 invoked from network); 17 Apr 1999 21:00:49 -0000 Message-Id: <199904172100.RAA16493@ocalhost> Content-Type: text/plain MIME-Version: 1.0 X-Image-URL: http://www.peak.org/~luomat/luomat@peak.org.tiff In-Reply-To: <199904172051.QAA16187@ocalhost> From: Timothy J Luoma Date: Sat, 17 Apr 1999 17:00:40 -0400 To: zsh-users@sunsite.auc.dk Subject: Sorry, left out an important detail >> Re: need completion help.... References: <199904172051.QAA16187@ocalhost> OK, here's what I have: function asubfiles () { reply=( $(/bin/ls $asub |\ egrep -v "README*|files.html|index") ) } compctl -K asubfiles 'S[-]' -- mva but the problem is that I want to use the command like this: mva [tab here to get files in $asub] ../[tab here to get list of directories in parent directory, which will always be the contents of the folder $new] my completion attempt above gives me the 1st part, tab here to get files in $asub, but doesn't give me the ability to tab for directories. That's what I need help with. Sorry for being unclear. TjL