Martti Rahkila <[EMAIL PROTECTED]> wrote on Mon, 27 Mar 2000:
> > > source ~/.mutt/colors.`if [ "$TERM" = "linux" ] ; then echo linux ; else echo
>default ; fi`
>
> Excellent tip: if I store the profile setting in an environment variable,
> I can test it and only load profile if it is not already active.
This won't unfortunately work, as far as I know. You can't change the
environment variables of the Mutt session from within Mutt because if
you use something like backtics or the exec-command, the variables get
changed for the sub-process. When the sub-process exits those varibles
are lost, the variables of the main Mutt process never change.
This would be changed if there indeed were a command to change the
current environment variables, like has been suggested. Maybe for
1.3...
Regards,
Mikko
--
// Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
All those who believe in psychokinesis raise my hand.