Created
January 17, 2018 06:20
-
-
Save kumikoda/2ceea3bad375d25baef8e0b0d3cbcc8f to your computer and use it in GitHub Desktop.
prompt
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
# a simple two line prompt with color | |
source ~/git-prompt.sh | |
GIT_PS1_SHOWCOLORHINTS=1 | |
GIT_PS1_SHOWDIRTYSTATE=1 | |
GIT_PS1_SHOWUNTRACKEDFILES=1 | |
cyan='\e[0;36m' | |
blue='\e[0;34m' | |
green='\e[0;32m' | |
reset="\e[0m" | |
PS1="${blue}\u@\h ${cyan}\w${green} \$(__git_ps1) ${reset}\n\$ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment