Fix bug: themes break global $PROMPT_COMMAND variable
Safely append functions to $PROMPT_COMMAND instead of setting it.
This commit is contained in:
@@ -95,4 +95,4 @@ dulcie_prompt() {
|
||||
PS1="${PS1}${DULCIE_PROMPTCHAR} "
|
||||
}
|
||||
|
||||
PROMPT_COMMAND=dulcie_prompt
|
||||
safe_append_prompt_command dulcie_prompt
|
||||
|
||||
Reference in New Issue
Block a user