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