-
Notifications
You must be signed in to change notification settings - Fork 25
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
xonsh default shell doesn't accept sh syntax #31
Comments
Isn't this a problem of xonsh? |
of course not, why would you expect it to accept incorrect syntax? |
If you don't mind I would like to investigate on this. I am not against this. I want to just explore things first. |
Sure thing, maybe you'll find out a nifty trick to make xonsh accept the syntax (with a few more I think it's mainly the |
If I set
xonsh
as my default login shell in WSL2, then I can't use wslbridge2 anymore due to incompatible syntax (the bridge only prepares thesh
-syntax command), instead I get the following error:Traceback
X
=/home/linuxbrew/.linuxbrew/Cellar/xonsh/0.10.1/libexec/lib/python3.9/site-packages
(shortened for readability)The proper command for this should be something like (newline-split for readability)
I'll submit a PR shortly that introduces the new syntax either via the less convenient command-flag or via the auto-detection of the default shell via
grep "^$(id -un)": /etc/passwd
(I bypassed the
appendWslArg
function as there is no need to escape the quotes, and I don't understand how relevant the other corrections are :))The text was updated successfully, but these errors were encountered: