From 2935f5202c6849402dd043bf6c5cd5c5b8f7b606 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Tue, 21 Nov 2017 16:40:44 -0800 Subject: [PATCH] Simplify bash prompt --- shell/bash_prompt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/shell/bash_prompt b/shell/bash_prompt index 58aa52e44..695f8a23a 100644 --- a/shell/bash_prompt +++ b/shell/bash_prompt @@ -129,12 +129,8 @@ set_prompts() { PS1="\[\033]0;\w\007\]" PS1+="\n" # newline - PS1+="\[$userStyle\]\u" # username - PS1+="\[$reset$white\]@" - PS1+="\[$hostStyle\]\h" # host - PS1+="\[$reset$white\]: " PS1+="\[$green\]\w" # working directory - PS1+="\$(prompt_git \"$white on $cyan\")" # git repository details + PS1+="\$(prompt_git \"$reset on $white\")" # git repository details PS1+="\n" PS1+="\[$reset$white\]\$ \[$reset\]" # $ (and reset color)