[bash] remove newline from PS1

This makes my prompt play a little nicer with python virtual
environments.
This commit is contained in:
Fernando Schauenburg 2018-04-05 19:29:21 +02:00
parent e4b1fc02db
commit 712b11e620

2
bashrc
View file

@ -142,7 +142,7 @@ do_solarize_shell() {
else else
__c="0;36" # default user name color is cyan __c="0;36" # default user name color is cyan
fi fi
export PS1="\n[\[\033[${__c}m\]\u@\h \[\033[0;34m\]\w\[\033[0m\]]\n\$ " export PS1="[\[\033[${__c}m\]\u@\h \[\033[0;34m\]\w\[\033[0m\]]\n\$ "
export PS2=". " export PS2=". "
# Customize colors for `ls` command # Customize colors for `ls` command