Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #######################################################
- ### # ### ### ### ## # # ### ###
- # # # # # # # # # ## ## # # #
- # ## # # #### ### ### # # # # # ### #
- # # # # # # # # # # # # #
- ### # # # # # ## # # # #
- #######################################################
- source $HOME/git-prompt.sh
- source $HOME/git-completion.sh
- export GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWSTASHSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1
- export GIT_PS1_SHOWUPSTREAM=verbose GIT_PS1_DESCRIBE_STYLE=branch GIT_PS1_SHOWCOLORHINTS=1
- export GIT_PS1_HIDE_IF_PWD_IGNORED=1
- txtylw='\e[1;33m' # Yellow
- txtwht='\e[0;37m' # White
- txtgre='\e[0;32m' # Green
- txtcyn='\e[0;36m' # Cyan
- fgcolor="\033[0m" # Unsets color to term's fg color
- gitprompt='$(__git_ps1 "(%s)")'
- # @see `man bash`#prompting for more options
- export PS1="\[$txtcyn\][\A] \u@\h:\[$txtgre\]\W\[$txtylw\]$gitprompt\[$txtwht\] \$ \[$fgcolor\]"
Add Comment
Please, Sign In to add comment