Avoid duplicating cmd.exe prompt definition

Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-08 22:55:15 +00:00
parent 4d259ba84c
commit 5dfa14ccce

10
vendor/init.bat vendored
View File

@@ -221,12 +221,10 @@ goto :SKIP_CLINK
chcp 65001>nul chcp 65001>nul
:: Revert back to plain cmd.exe prompt without clink :: Revert back to plain cmd.exe prompt without clink
:: With Windows Terminal shell integration support (OSC 133 sequences) prompt $E[1;32;49m$P$S$_$E[1;30;49mλ$S$E[0m
if defined WT_SESSION (
prompt $e]133;D$e\$e]133;A$e\$e]9;9;$P$e\$E[1;32;49m$P$S$_$E[1;30;49mλ$S$E[0m$e]133;B$e\ :: Add Windows Terminal shell integration support (OSC 133 sequences)
) else ( if defined WT_SESSION (prompt $e]133;D$e\$e]133;A$e\$e]9;9;$P$e\%PROMPT%$e]133;B$e\)
prompt $E[1;32;49m$P$S$_$E[1;30;49mλ$S$E[0m
)
chcp %cp%>nul chcp %cp%>nul