Hi,
Is it me or does the Shell Command function use /bin/sh
to execute commands regardless of the value of my SHELL
variable?
For example, I start mutt with
SHELL=/usr/local/bin/zsh mutt
and then run !ps -p $$
and it shows "sh".
Am I doing something wrong? I'd like to be able access
Hi,
* Aleksey Tsalolikhin <[EMAIL PROTECTED]> [02-05-13 19:40]:
> For example, I start mutt with
>
>SHELL=/usr/local/bin/zsh mutt
>
>and then run !ps -p $$
>
>and it shows "sh".
>
> Am I doing something wrong? I'd like to be able access
>my shell aliases from mutt via !.
I don't know about th
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:
* On 2002.05.13, in <[EMAIL PROTECTED]>,
* "Aleksey Tsalolikhin" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is it me or does the Shell Command function use /bin/sh
> to execute commands regardless of the value of my SHELL
> variable?
It uses EXECSHELL. See `mutt -v` for EXECSHELL's value -- i
On Mon, 13 May 2002, Aleksey Tsalolikhin wrote:
> Hi,
>
> Is it me or does the Shell Command function use /bin/sh
> to execute commands regardless of the value of my SHELL
> variable?
>
> For example, I start mutt with
>
> SHELL=/usr/local/bin/zsh mutt
>
> and then run !ps -p $$
if mutt's u
Thank you David T-G, Thorsten Haude, David Champion and Thomas
Dickey! I got my zsh alias working from mutt by rebinding "!" as a
macro as David T-G suggested:
bind generic ! noop
bind generic \\ shell-escape
macro generic ! \\"zsh -c "
Truly,
Aleksey.
P.S. Notes on the alias expansion myste
On Mon, 13 May 2002, Aleksey Tsalolikhin wrote:
> My C is pretty weak but
>
> execl (EXECSHELL, "sh", "-c", cmd, NULL);
>
> looks odd when I know EXECSHELL is /usr/local/bin/zsh.
>
> I'm not quite sure what this does, it looks like it specifies the
> path /usr/local/bin/zsh but then invokes i