cool bash
parent
f4809bb32a
commit
a838b513b0
3
bashrc
3
bashrc
|
@ -54,6 +54,7 @@ if [ -n "$force_color_prompt" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
GIT_PS1_SHOWDIRTYSTATE=true
|
GIT_PS1_SHOWDIRTYSTATE=true
|
||||||
|
GIT_PS1_SHOWUNTRACKEDFILES=true
|
||||||
|
|
||||||
if [ "$color_prompt" = yes ]; then
|
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\] \$ '
|
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
|
# If this is an xterm set the title to user@host:dir
|
||||||
case "$TERM" in
|
case "$TERM" in
|
||||||
xterm*|rxvt*)
|
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)'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue