I want to call a script which will pass back a file to source like this:

source `path-to/script.sh`

I would like to set the path to the script in my muttrc with a mutt
user-defined variable. This doesn't work because mutt doesn't appear to
expand the variable before passing the part in back-ticks out to the
shell.

I know that I could define an environment variable to do this, but I'd
like to have all the paths defined by a single variable in muttrc. That
way I can move my mutt-test configuration into production by simply
changing that one line.

Is there a way to make mutt expand the variable before it passes the
command to the shell? Or, maybe there's a better approach to this?


Reply via email to