Freix --

...and then freix said...
% ello everyone,

'allo to you, too!


% 
% send-hook .* 'unset pgp_autoencrypt'
% send-hook '~t ^user@host\.domain\.com$' 'set pgp_autoencrypt'
% send-hook '~t ^user@host\.domain\.com$' 'set pgp_autosign'
% 
% Is the only way I seem to be able to achieve both.  Any variation of
% syntax, pipes, diff quotes, no quotes, etc, doesn't seem to take.

You must have missed the semicolon attempt, then :-)

You can specify multiple commands (in this case, both would be "set") by
separating them with semicolons.  To wit:

  send-hook '~t ^user@host\.domain\.com$' \
    "set pgp_autoencrypt ; set pgp_autosign"

(broken in half to not exceed 70 columns).  But wait -- it gets better!
You can se multiple variables all in one set command, so all you *really*
need is

  send-hook '~t ^user@host\.domain\.com$' "set pgp_autoencrypt pgp_autosign"

to set both and be done with it.


HTH & HAND

:-D
-- 
David T-G                       * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]      * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/        Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*

PGP signature

Reply via email to