cool bash

beta.r3js.org
Theunis Johannes Botha 2017-02-09 02:16:06 +01:00
parent f4809bb32a
commit a838b513b0
1 changed files with 2 additions and 1 deletions

3
bashrc
View File

@ -54,6 +54,7 @@ if [ -n "$force_color_prompt" ]; then
fi
GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWUNTRACKEDFILES=true
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\][\D{%d}] \A\[\033[1;31m\] \u@\[\033[01;32m\]-=<yb4f310:\w>\[\033[00m\]\[\033[0;33m\]$(__git_ps1)\[\033[00m\] \$ '
@ -65,7 +66,7 @@ unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\][\D{%d}] \A\[\033[1;31m\] \u@\[\033[01;32m\]-=<yb4f310:\w>\[\033[00m\]\[\033[0;33m\]$(__git_ps1)\[\033[00m\] \$ '
PS1='${debian_chroot:+($debian_chroot)}\[\033[38;5;34m\]-\[\033[38;5;35m\]=\[\033[38;5;36m\]<\[\033[38;5;37m\]y\[\033[38;5;38m\]b\[\033[38;5;39m\]4\[\033[38;5;38m\]f\[\033[38;5;37m\]3\[\033[38;5;36m\]1\[\033[38;5;34m\]0\w/\[\033[38;5;39m\]$(__git_ps1)'
;;
*)
;;