-
Notifications
You must be signed in to change notification settings - Fork 13
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
Nushell compatibility #56
Comments
Hey @J-Kappes thanks for the issue and workaround. I'll take a look into this 👍 I have had some issues before with other shell (fish) compatibility around those as well. I think I need to have a more generalized approach |
Reproduced: brew install nushell
echo '/opt/homebrew/bin/nu' >> /etc/shells
chsh -s /opt/homebrew/bin/nu
|
I found another workaround. Add the following line before vim.cmd("let &shell='/bin/sh'") I tried executing a Nushell specific command from within the scrollback afterward and it still worked, i.e. setting that variable doesn't affect which shell gets used interactively. |
Ohhh that is very clever! I think I may use that. Thanks for the share! |
🎉 This issue has been resolved in version 2.1.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Hey @J-Kappes, I just merged the approach of overriding |
The new release works for me, no problem 🎉 |
awesome, thanks for looking into it 👍 |
Having your default shell set to
nu
causes issues due to the use of&&
inkitty_commands.lua
. Could those be replaced with;
(my workaround) or thefull_cmd
be wrapped inecho "..." | sh
? Or is there a more elegant solution for letting commands be interpreted bydash
?The text was updated successfully, but these errors were encountered: