Last active
August 21, 2016 16:56
-
-
Save arodu/f1eb8756ae50d77f0f11 to your computer and use it in GitHub Desktop.
Consola bash con soporte para git, en colores y en blanco, agregar este codigo al final del archivo ~/.bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion | |
. /usr/share/git/completion/git-completion.bash | |
. /usr/share/git/completion/git-prompt.sh | |
export GIT_PS1_SHOWDIRTYSTATE=1 | |
PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\[\033[01;37m\]$(__git_ps1 "(%s)")\[\033[01;32m\]\$\[\033[00m\] ' | |
#PS1='\u@\h \W $(__git_ps1 " (%s)")\$ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment