From afdbdd4e60ba3b0b5142493cac5bf5a89e08c290 Mon Sep 17 00:00:00 2001 From: Costi Date: Mon, 27 Oct 2014 11:54:47 -0500 Subject: [PATCH] Adds time to bash prompt, adds color to git branch --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 591eeec..5ebd5c8 100644 --- a/.bashrc +++ b/.bashrc @@ -54,7 +54,7 @@ fi if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' else - PS1='[$([[ -e /etc/cnu/cnu_env ]] && ({ source /etc/cnu/cnu_env && echo -n $CNU_CLUSTER/${RAILS_ENV:0:3}; } || echo no cluster set); echo -n "${_CNU_ENV:+ ($CNU_COUNTRY env)}") \w$(__git_ps1 " (%s)")]\$ ' + PS1='[\t][$([[ -e /etc/cnu/cnu_env ]] && ({ source /etc/cnu/cnu_env && echo -n $CNU_CLUSTER/${RAILS_ENV:0:3}; } || echo no cluster set); echo -n "${_CNU_ENV:+ ($CNU_COUNTRY env)}") \w\[\033[01;30m\]$(__git_ps1)\[\033[00m\]\$ '']]]' #PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi unset color_prompt force_color_prompt