zsh-users
 help / color / mirror / code / Atom feed
From: Timothy J Luoma <tjlists@bigfoot.com>
To: zsh-users@sunsite.auc.dk
Subject: Sorry, left out an important detail >> Re: need completion help....
Date: Sat, 17 Apr 1999 17:00:40 -0400	[thread overview]
Message-ID: <199904172100.RAA16493@ocalhost> (raw)
In-Reply-To: <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



  reply	other threads:[~1999-04-17 21:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-17 20:51 Timothy J Luoma
1999-04-17 21:00 ` Timothy J Luoma [this message]
1999-04-18  0:49   ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199904172100.RAA16493@ocalhost \
    --to=tjlists@bigfoot.com \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).