From 7a1ea8f6a91737f099b344c4cb92db2d94c23500 Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Sat, 24 Aug 2019 14:37:52 -0400 Subject: [PATCH] Fix bug with git branch display in default bash prompt --- playbooks/files/bashrc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/files/bashrc.sh b/playbooks/files/bashrc.sh index 1ebc9bc..cf63a3e 100644 --- a/playbooks/files/bashrc.sh +++ b/playbooks/files/bashrc.sh @@ -13,4 +13,4 @@ parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' } -export PS1="\[\e[0;97m\]\[\e[37m\]\u\[\e[1;94m\]@\[\e[94m\]\h\[\e[0;33m\]$(parse_git_branch) \[\e[37m\]\w\[\e[33m\] \[\e[0;97m\]$\[\e[0m\] " +export PS1="\[\e[0;97m\]\[\e[37m\]\u\[\e[1;94m\]@\[\e[94m\]\H\[\e[0;33m\]$(parse_git_branch) \[\e[37m\]\w\[\e[33m\] \[\e[0;97m\]$\[\e[0m\] "