On Thu, Sep 07, 2000 at 11:15:18PM -0700, Jason Helfman wrote:
> Would their be a way to configure mutt to test if I am running X, and
> based off the exit of this, 1 or 0, use a particular mutt variable
> setting?

Something like this?

    set editor=`RunningX && echo gvim || echo vim`

Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | RF Communications Product Generation Unit
                             | Spokane, Washington, USA

Reply via email to