From 2e1cf78ba2343a95272cffc5b34251e916a7f111 Mon Sep 17 00:00:00 2001 From: Riley Shaw Date: Tue, 8 Sep 2015 01:47:15 -0700 Subject: [PATCH] Set prompt_git colors as non-printing characters My editor was wrapping lines incorrectly before this change. Hope this helps! --- shell/bash_prompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/bash_prompt b/shell/bash_prompt index 58aa52e44..8511bc853 100644 --- a/shell/bash_prompt +++ b/shell/bash_prompt @@ -134,7 +134,7 @@ set_prompts() { PS1+="\[$hostStyle\]\h" # host PS1+="\[$reset$white\]: " PS1+="\[$green\]\w" # working directory - PS1+="\$(prompt_git \"$white on $cyan\")" # git repository details + PS1+="\$(prompt_git \"\[$white\] on \[$cyan\]\")" # git repository details PS1+="\n" PS1+="\[$reset$white\]\$ \[$reset\]" # $ (and reset color)