We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef12790 commit c31c6c6Copy full SHA for c31c6c6
src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh
@@ -168,7 +168,7 @@ builtin printf "\e]633;P;ContinuationPrompt=$(echo "$PS2" | sed 's/\x1b/\\\\x1b/
168
__vsc_report_prompt() {
169
# Expand the original PS1 similarly to how bash would normally
170
# See https://stackoverflow.com/a/37137981 for technique
171
- if ((BASH_VERSINFO[0] >= 5 || (BASH_VERSINFO[0] >= 4 && BASH_VERSINFO[1] >= 4))); then
+ if ((BASH_VERSINFO[0] >= 5 || (BASH_VERSINFO[0] == 4 && BASH_VERSINFO[1] >= 4))); then
172
__vsc_prompt=${__vsc_original_PS1@P}
173
else
174
__vsc_prompt=${__vsc_original_PS1}
0 commit comments