daily pastebin goal
79%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. GIT_PROMPT_ONLY_IN_REPO=1
  2. export PS1='`if [ $? = 0 ]; then echo "\[\e[32m\]✔ "; else echo "\[\e[31m\] ✘ "; fi`\[\e[00;37m\]\u@mbp\[\e[01;37m\]:`[[ $(git status 2> /dev/null) =~ Changes\ .+: ]] && echo "\[\e[33m\]" || echo "\[\e[31m\]"``[[ ! $(git status 2> /dev/null) =~ nothing\ to\ commit,\ working\ .+\ clean ]] || echo "\[\e[32m\]"`$(__git_ps1 "(%s)\[\e[00m\]")\[\e[01;34m\]\w\[\e[00m\]\$ '
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top