Created
March 9, 2018 18:07
-
-
Save valtoni/13e5873d2dc1c8841e1d2a6c0ba0624c to your computer and use it in GitHub Desktop.
Prompt Maroto (put this on .bashrc file)
This file contains hidden or 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
| # Copy https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh into ~/.git-prompt.sh | |
| source ~/.git-prompt.sh | |
| PS1='\n\[\e[30;1m\]\[\016\]l\[\017\](\[\e[34;1m\]\u@\h\[\e[30;1m\])-(\[\e[34;1m\]\j\[\e[30;1m\])-(\[\e[34;1m\]\@ \d\[\e[30;1m\])$(__git_ps1 "-(\[\e[35;1m\]%s\[\e[30;1m\])")->\[\e[30;1m\]\n\[\016\]m\[\017\]-(\[\[\e[32;1m\]\w\[\e[30;1m\])\[\e[0m\]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment