Fix PROMPT_COMMAND again (2)

This commit is contained in:
Scott Wallace 2019-01-16 11:59:13 +00:00
parent d9b1024bac
commit 4c136f40a1

View file

@ -100,6 +100,7 @@ function __PROMPT_COMMAND() {
export PS1="[\u@\h \W \[\033[32m\]\$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ <\1>/')\[\033[00m\]]\\$ "
export PROMPT_COMMAND="${PROMPT_COMMAND:+"${PROMPT_COMMAND%%';__PROMPT_COMMAND'};"}__PROMPT_COMMAND"
export PROMPT_COMMAND="${PROMPT_COMMAND//;;/;}"
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------