From 24c1ab970d5ca7c333cdaa359d81eb92b4ec88d7 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 23 Jul 2012 14:46:53 -0400 Subject: [PATCH] Multi-line command prompt with full path. --- .bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index fc749d9..cb73f63 100755 --- a/.bashrc +++ b/.bashrc @@ -12,13 +12,13 @@ fi # Case insensitive matching shopt -s nocaseglob -PS1='\[\t\]' +PS1="\e[1;34m[\t] \w\n" # Prompt color based on location if [ "$SSH_CONNECTION" == "" ]; then # Yellow prompt for local login - PS1="$PS1\[\e[1;32m\][\u@\h \W]" + PS1="$PS1\[\e[1;32m\][\u@\h]" else - PS1="$PS1\[\e[1;33m\][\u@\h \W]" + PS1="$PS1\[\e[1;33m\][\u@\h]" fi # Ripped from Doug - color based on return code