zsh-users
 help / color / mirror / code / Atom feed
From: Scott RoLanD <shr@home.chat.net>
To: zsh-users@math.gatech.edu
Subject: improving the mail compctl
Date: Fri, 10 Apr 1998 10:58:52 -0700	[thread overview]
Message-ID: <19980410105852.63390@home.chat.net> (raw)

Up until now I have been using the mail compctl found in the
zshcompctl man page:
	compctl -u -x 's[+] c[-1,-f],s[-f+]' -g '~/Mail/*(:t)' \
	   - 's[-f],c[-1,-f]' -f -- mail elm mutt

My current mailer is mutt and I keep a seperate folder for everyone I
mail. This gets messy if I let everything fall in my ~/Mail directory,
so I have started creating directories under that like:
	~/Mail/friends
	~/Mail/family
	~/Mail/work
	~/Mail/lists
So now I would like to modify the above compctl to support tab
completion for the following:
	mutt -f +family/dad
but since the above compctl uses (:t) I'm out of luck. Is there any
nice way to do this; or do I have to create a function that does an
ls? I realize I will also have to seperate the "mutt dad" case from
the "mutt -f +family/dad" case, but that isn't my worry right now...

Thanks,
RoLanD


             reply	other threads:[~1998-04-10 18:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-10 17:58 Scott RoLanD [this message]
1998-04-14  9:28 ` Andrew Main

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=19980410105852.63390@home.chat.net \
    --to=shr@home.chat.net \
    --cc=zsh-users@math.gatech.edu \
    /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).