aboutsummaryrefslogtreecommitdiffstats
path: root/.bash_prompt
diff options
context:
space:
mode:
Diffstat (limited to '.bash_prompt')
-rw-r--r--.bash_prompt4
1 files changed, 2 insertions, 2 deletions
diff --git a/.bash_prompt b/.bash_prompt
index 13a026f..7afdb79 100644
--- a/.bash_prompt
+++ b/.bash_prompt
@@ -53,7 +53,7 @@ prompt_git() {
[ -n "${s}" ] && s=" [${s}]";
- echo -e "${1}${branchName}${blue}${s}";
+ echo -e "${1}${branchName}${2}${s}";
else
return;
fi;
@@ -111,7 +111,7 @@ PS1+="\[${white}\] at ";
PS1+="\[${hostStyle}\]\h"; # host
PS1+="\[${white}\] in ";
PS1+="\[${green}\]\w"; # working directory
-PS1+="\$(prompt_git \"${white} on ${violet}\")"; # Git repository details
+PS1+="\$(prompt_git \"\[${white}\] on \[${violet}\]\" \"\[${blue}\]\")"; # Git repository details
PS1+="\n";
PS1+="\[${white}\]\$ \[${reset}\]"; # `$` (and reset color)
export PS1;