Error when using xonsh as default shell
aspieln3r opened this issue · comments
I have my default shell set to xonsh
Even thought the sysz has #!/usr/bin/env bash
, it is somehow invoking $SHELL and I'm getting a traceback error when I press ?
to get keybindings. Error goes away when I run sysz with env SHELL=/usr/bin/bash sysz
from xonsh. I'm attaching screenshot of traceback from xonsh and you can see its trying to run something from sysz and getting syntax error.
(Screenshot because I cannot copy from sysz window)
reverting current fix and setting SHELL=/bin/bash on top of the script works.
reading junegunn/fzf#2627 (comment) , fzf is not going to change current behavior.
Also from junegunn/fzf#481 (comment) , the recommended way to force a shell is to override SHELL from the script