Add newline before bash prompt

This commit is contained in:
Fernando Schauenburg 2019-02-25 23:40:24 +01:00
parent 8da84cdc64
commit 1c5e7c4e75

View file

@ -203,7 +203,7 @@ bashrc_set_prompt() {
local git_color="\[\033[${green}m\]" local git_color="\[\033[${green}m\]"
local default_color="\[\033[0m\]" local default_color="\[\033[0m\]"
PS1="[" # [ PS1="\n[" # [
PS1+="$user_host_color\u@\h " # user @ host PS1+="$user_host_color\u@\h " # user @ host
PS1+="$pwd_color\w" # pwd PS1+="$pwd_color\w" # pwd
PS1+="$git_color$(__git_ps1 ' %s')" # git status (only if in repo) PS1+="$git_color$(__git_ps1 ' %s')" # git status (only if in repo)