Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using xonsh as default shell #14

Closed
aspieln3r opened this issue Oct 8, 2021 · 4 comments
Closed

Error when using xonsh as default shell #14

aspieln3r opened this issue Oct 8, 2021 · 4 comments

Comments

@aspieln3r
Copy link

aspieln3r commented Oct 8, 2021

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.
image
(Screenshot because I cannot copy from sysz window)

@aspieln3r
Copy link
Author

aspieln3r commented Oct 9, 2021

I updated to 1.4.1 but issue is still present 😬
image

@aspieln3r
Copy link
Author

reverting current fix and setting SHELL=/bin/bash on top of the script works.

@aspieln3r
Copy link
Author

reading junegunn/fzf#2627 (comment) , fzf is not going to change current behavior.

@aspieln3r
Copy link
Author

Also from junegunn/fzf#481 (comment) , the recommended way to force a shell is to override SHELL from the script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant