Problem
The Oh My Posh prompt fails to render in Bash when used with other features (like shell-history) that overwrite PROMPT_COMMAND in .bashrc.
Cause
oh-my-posh uses PROMPT_COMMAND to hook into Bash. If another feature runs after it and overwrites this variable (e.g., PROMPT_COMMAND='history -a') instead of appending, the prompt hook is lost.
Expected Behavior
Oh My Posh should load reliably regardless of other installed features or their ordering in .bashrc.
Problem
The Oh My Posh prompt fails to render in Bash when used with other features (like
shell-history) that overwritePROMPT_COMMANDin.bashrc.Cause
oh-my-poshusesPROMPT_COMMANDto hook into Bash. If another feature runs after it and overwrites this variable (e.g.,PROMPT_COMMAND='history -a') instead of appending, the prompt hook is lost.Expected Behavior
Oh My Posh should load reliably regardless of other installed features or their ordering in
.bashrc.