[Mutt] #3098: $SHELL differs from $0 in subshell
#3098: $SHELL differs from $0 in subshell
I set the subshell in the .muttrc[[BR]]
`set shell="/usr/bin/zsh"`[[BR]]
mainly to have the .zsh_env sourced, which adjusts variables like $DISPLAY
in reatached screen sessions. Unfortunately this doesn't work.
in mutt[[BR]]
`<shell-escape>echo $SHELL; echo $0`[[BR]]
reports that SHELL is set to zsh, but nevertheless a sh is executed. So
what i would have expected is that $0 was also a zsh.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3098>