Aleksey --

...and then Aleksey Tsalolikhin said...
% 
% Hi,

Hello!


% 
%   Is it me or does the Shell Command function use /bin/sh
% to execute commands regardless of the value of my SHELL 
% variable?

That's almost certainly the case.  It depends on how mutt was configured
at compile time:

  [zero] [12:48pm] ~>  mutt -v | grep SHELL
  EXECSHELL="/bin/sh"


% 
%   For example, I start mutt with
% 
% SHELL=/usr/local/bin/zsh  mutt
% 
% and then run !ps -p $$
% 
% and it shows "sh".

Right.  You'll have to recompile (IIRC) mutt to set it to zsh.


% 
%   Am I doing something wrong?  I'd like to be able access
% my shell aliases from mutt via !.

Will something like

  !zsh -c youralias

work instead?  If it will, you could rebind ! as a macro that fills in
the first bit and thus avoid having to have a custom mutt just for you.


% 
% Yours truly,
% -at


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.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg28052/pgp00000.pgp
Description: PGP signature

Reply via email to