Fix bug: themes break global $PROMPT_COMMAND variable
Safely append functions to $PROMPT_COMMAND instead of setting it.
This commit is contained in:
@@ -30,7 +30,7 @@ PS2="$LIGHT_BLUE-$YELLOW-$YELLOW-$NO_COLOUR "
|
||||
|
||||
}
|
||||
|
||||
PROMPT_COMMAND=prompt_setter
|
||||
safe_append_prompt_command prompt_setter
|
||||
|
||||
export PS3=">> "
|
||||
|
||||
|
||||
Reference in New Issue
Block a user