<<< Date Index >>>     <<< Thread Index >>>

Re: Starting shell command with name of current mailbox as



Noah Sheppard wrote:  [Tue Jan 20 2009, 11:41:11AM EST]
> As yet I don't know how to pass a mutt variable as the argument
> to a shell command.  

You can't with simple <shell-escape> but you can by a sequence
such as...

<enter-command> set my_shell=$shell<enter><enter-command> set shell="blah blah 
$somevar blah"<enter><shell-escape><enter><enter-command> set 
shell=$my_shell<enter>