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