commit e6077968c98a4d7f9d1c87a1f4a8ec2715fbc403
parent 0f5830ce4865205debf5c8705097f62459712621
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date: Mon, 27 Dec 2021 17:45:25 +0100
Make Bash prompt less busy
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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
}