We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d083a commit 7d43ff6Copy full SHA for 7d43ff6
1 file changed
.bash_prompt
@@ -53,7 +53,7 @@ prompt_git() {
53
54
[ -n "${s}" ] && s=" [${s}]";
55
56
- echo -e "${1}${branchName}${blue}${s}";
+ echo -e "${1}${branchName}${2}${s}";
57
else
58
return;
59
fi;
@@ -111,7 +111,7 @@ PS1+="\[${white}\] at ";
111
PS1+="\[${hostStyle}\]\h"; # host
112
PS1+="\[${white}\] in ";
113
PS1+="\[${green}\]\w"; # working directory
114
-PS1+="\$(prompt_git \"${white} on ${violet}\")"; # Git repository details
+PS1+="\$(prompt_git \"\[${white}\] on \[${violet}\]\" \"\[${blue}\]\")"; # Git repository details
115
PS1+="\n";
116
PS1+="\[${white}\]\$ \[${reset}\]"; # `$` (and reset color)
117
export PS1;
0 commit comments