From 4c136f40a1039802f32e3825db6c6b1df447a437 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Wed, 16 Jan 2019 11:59:13 +0000 Subject: [PATCH] Fix PROMPT_COMMAND again (2) --- .bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bashrc b/.bashrc index ed75215..487d900 100755 --- a/.bashrc +++ b/.bashrc @@ -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//;;/;}" #-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------