zsh-users
 help / color / mirror / code / Atom feed
* improving the mail compctl
@ 1998-04-10 17:58 Scott RoLanD
  1998-04-14  9:28 ` Andrew Main
  0 siblings, 1 reply; 2+ messages in thread
From: Scott RoLanD @ 1998-04-10 17:58 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: improving the mail compctl
  1998-04-10 17:58 improving the mail compctl Scott RoLanD
@ 1998-04-14  9:28 ` Andrew Main
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Main @ 1998-04-14  9:28 UTC (permalink / raw)
  To: Scott RoLanD; +Cc: zsh-users

Scott RoLanD wrote:
>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,

The latest beta releases, with the compctl -/ and -W options, have
improved the mail completion to do what you want.  You'll need version
3.1.2-zefram4 (or -zefram3).  You can get this from any of

<URL:ftp://mason.primenet.com.au/pub/zsh/>
<URL:http://mason.primenet.com.au/pub/zsh/>
<URL:ftp://ftp.fruit.ml.org/pub/zsh/>
<URL:ftp://dep1.fciencias.unam.mx/pub/zsh/>

-zefram


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-04-14  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-10 17:58 improving the mail compctl Scott RoLanD
1998-04-14  9:28 ` Andrew Main

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).