-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Adapt the bash of busybox. #170868
Comments
* fix #170868 * Update src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
In fact, busybox bash/ash does not support the |
Thanks, it's still an issue then. We should detect if it's busybox either before injecting the shell integration or at the start of the script. |
I'll create another issue for the case when there's no |
This is available for contributions. I believe all this needs is an vscode/src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh Lines 6 to 9 in d70a46b
It needs to be tested of course and be a low risk change for regular bash. |
Perhaps we should exit the script when we detect that this is not a true bash, or only perform some necessary injections. Otherwise, it would be too complicated to fully adapt to Busybox's bash. |
Steps to Reproduce:
I use busybox bash as
/bin/bash
(still busybox ash in essence), which is why there is no.bashrc
.I hope vs code server can judge whether it is a real bash before using it, if not, treat the bash as ash.
Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No
The text was updated successfully, but these errors were encountered: