Re: [Mutt] #3098: $SHELL differs from $0 in subshell
#3098: $SHELL differs from $0 in subshell
----------------------------+-----------------------------------------------
Reporter: schertz123456 | Owner: mutt-dev
Type: defect | Status: new
Priority: minor | Milestone: 1.6
Component: mutt | Version:
Resolution: | Keywords:
----------------------------+-----------------------------------------------
Changes (by pdmef):
* priority: major => minor
Comment:
I don't think this is a bug, too. When you run <shell-escape>echo $SHELL;
echo $0\n, mutt runs
{{{
EXECSHELL -c 'echo $SHELL ; echo $0'
}}}
and sets $0 to 'sh' by default. EXECSHELL is a compile-time constant. So
if in your case $SHELL is zsh I guess EXECSHELL is zsh, too? So that the
only problem is that $0 is incorrect and doesn't match EXECSHELL?
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3098#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent