Fix bug: themes break global $PROMPT_COMMAND variable
Safely append functions to $PROMPT_COMMAND instead of setting it.
This commit is contained in:
@@ -240,4 +240,4 @@ function __powerline_prompt_command {
|
||||
SEGMENTS_AT_LEFT SEGMENTS_AT_RIGHT
|
||||
}
|
||||
|
||||
PROMPT_COMMAND=__powerline_prompt_command
|
||||
safe_append_prompt_command __powerline_prompt_command
|
||||
|
||||
Reference in New Issue
Block a user