From 545e6049cc8dcadbe9a3f95475dd523bd81f2eac Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Sat, 26 Jan 2019 14:07:17 +0000 Subject: [PATCH] Go back to a sensible PROMPT_COMMAND --- .bashrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index f4f341c..b5a3141 100755 --- a/.bashrc +++ b/.bashrc @@ -73,8 +73,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//;;/;}" +export PROMPT_COMMAND=__PROMPT_COMMAND #-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------