Re: source a file from a $VAR ?
* Michelle Konzack <linux4michelle@xxxxxxxxxx> [2005-04-06 13:53 +0200]:
> Am 2005-04-06 08:19:06, schrieb Nicolas Rachinsky:
>
> macro index <F7> "!tdmuttsource\n:source $TDMS\n"
>
> > I would try something like:
> > macro index <F7> '`tdmuttsource`'
> > and let tdmuttsource print "source $TDMS".
>
> it does not work, because the "source $TDMS" must be inside the
> configuration of mutt exactly with
>
> :source $TDMS
> or expanded
> :source /home/michelle.konzack/.mutt/a_mutt-config
>
> while your example write out the resultat at startup of 'mutt'
> while reading the configs the first time.
>
> I need to re-read the "source $TDMS" with a new value.
I said something like my above example.
This one works:
macro index <f7> ':source `date +%s`'"\n"
I get a different error message for every second. :/
Nicolas