Re: use current folder name as argument to abitrary command

2009-05-01 Thread Noah Sheppard
On Fri, May 01, 2009 at 11:28:39PM -0500, David J. Weller-Fahy wrote: > folder-hook +lists* "set shell=\"~/.mutt/gen-set-from.pl \$my_curdir && sleep > 0.5\"" > folder-hook +lists* "push " > folder-hook +lists* "push source ~/.mutt/list-from" > #v- > > Some explanation is in order. The gen-set-f

Re: use current folder name as argument to abitrary command

2009-05-01 Thread David J. Weller-Fahy
First, my goal is to change the from variable based on which mailing list mailbox I'm in (my non-list email addresses don't change enough to make this worthwhile for them). I was using a one-line patch to export the mailbox name to the shell. With your solution that should no longer be necessary,