summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-12-27 17:45:25 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-12-27 17:45:25 +0100
commite6077968c98a4d7f9d1c87a1f4a8ec2715fbc403 (patch)
treea6515a07afa0cba871c361013b433b594914f7df
parent0f5830ce4865205debf5c8705097f62459712621 (diff)
downloaddotfiles-e6077968c98a4d7f9d1c87a1f4a8ec2715fbc403.tar.xz
Make Bash prompt less busy
-rw-r--r--.bash_prompt3
1 files changed, 2 insertions, 1 deletions
diff --git a/.bash_prompt b/.bash_prompt
index da145f4..9473225 100644
--- a/.bash_prompt
+++ b/.bash_prompt
@@ -172,11 +172,12 @@ __write-context ()
__fontify '\H' bold green
fi
- __fontify : dim
+ printf ' '
__fontify '\w' bold blue
if [ ${PS1_SHOWGITSTATUS} ]
then
+ printf ' '
__fontify "$(__git_ps1 '(%s)')" red
fi
}