From 712b11e6200e1cd2ee1c931f9e374b45a7f674c9 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Thu, 5 Apr 2018 19:29:21 +0200 Subject: [PATCH] [bash] remove newline from PS1 This makes my prompt play a little nicer with python virtual environments. --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 54bd755..f784528 100644 --- a/bashrc +++ b/bashrc @@ -142,7 +142,7 @@ do_solarize_shell() { else __c="0;36" # default user name color is cyan 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=". " # Customize colors for `ls` command