Skip to content

Commit

Permalink
Adds time to bash prompt, adds color to git branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Costi committed Oct 27, 2014
1 parent 42360f8 commit afdbdd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .bashrc
Expand Up @@ -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
Expand Down

0 comments on commit afdbdd4

Please sign in to comment.