Repository navigation
fix(vscode-theme): replace legacy prompt command substitution - #777
Mr-qolamii wants to merge 1 commit into
Conversation
Replace backtick-based command substitution with PROMPT_COMMAND to prevent Bash export parsing errors and improve compatibility with modern Bash versions.
PR Summary by QodoBuild VS Code theme prompt with PROMPT_COMMAND
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1. Existing prompt hooks are lost
|
| _omb_theme_vscode_initialize | ||
|
|
||
| function _omb_theme_PROMPT_COMMAND { true; } | ||
| PROMPT_COMMAND="_omb_theme_vscode_prompt${PROMPT_COMMAND:+;$PROMPT_COMMAND}" |
There was a problem hiding this comment.
This isn't expected. See the other themes registering _omb_theme_PROMPT_COMMAND.
What are the "Bash export parsing errors"?
What is the compatibility improvement? Bash is basically backward-compatible. |
Replace backtick-based command substitution with PROMPT_COMMAND to prevent Bash export parsing errors and improve compatibility with modern Bash versions.