File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
src/vs/workbench/contrib/terminal/browser/media Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ __vsc_update_prompt() {
98
98
# means the user re-exported the PS1 so we should re-wrap it
99
99
if [[ " $__vsc_custom_PS1 " == " " || " $__vsc_custom_PS1 " != " $PS1 " ]]; then
100
100
__vsc_original_PS1=$PS1
101
- __vsc_custom_PS1=" \[$( __vsc_prompt_start) \]$PREFIX$ __vsc_original_PS1 \[$( __vsc_prompt_end) \]"
101
+ __vsc_custom_PS1=" \[$( __vsc_prompt_start) \]$__vsc_original_PS1 \[$( __vsc_prompt_end) \]"
102
102
PS1=" $__vsc_custom_PS1 "
103
103
fi
104
104
if [[ " $__vsc_custom_PS2 " == " " || " $__vsc_custom_PS2 " != " $PS2 " ]]; then
Original file line number Diff line number Diff line change @@ -84,14 +84,11 @@ if [[ -o NOUNSET ]]; then
84
84
if [ -z " ${RPROMPT-} " ]; then
85
85
RPROMPT=" "
86
86
fi
87
- if [ -z " ${PREFIX-} " ]; then
88
- PREFIX=" "
89
- fi
90
87
fi
91
88
__vsc_update_prompt () {
92
89
__vsc_prior_prompt=" $PS1 "
93
90
__vsc_in_command_execution=" "
94
- PS1=" %{$( __vsc_prompt_start) %}$PREFIX$ PS1 %{$( __vsc_prompt_end) %}"
91
+ PS1=" %{$( __vsc_prompt_start) %}$PS1 %{$( __vsc_prompt_end) %}"
95
92
PS2=" %{$( __vsc_continuation_start) %}$PS2 %{$( __vsc_continuation_end) %}"
96
93
if [ -n " $RPROMPT " ]; then
97
94
__vsc_prior_rprompt=" $RPROMPT "
You can’t perform that action at this time.
0 commit comments