Advertisement
Sta99ot

best profile

Jun 5th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.52 KB | None | 0 0
  1. #sta99ot's super ProFile
  2.  
  3. source /Library/Developer/CommandLineTools/usr/share/git-core/git-prompt.sh
  4. export PS1="\[$(tput bold)\]\[$(tput setaf 7)\]\t \[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 6)\]\h \[$(tput setaf 4)\]\W\[$(tput setaf 5)\]]\n\[$(tput setaf 15)\]\\$ \$(if [[ \$(git status -s 2>/dev/null | wc -l) -gt 0 ]]; then tput setaf 1; else tput setaf 10; fi)\$(__git_ps1 \"[%s] \")\[$(tput sgr0)\]"
  5.  
  6. alias ll='ls -laghFG'
  7.  
  8. export GREP_OPTIONS='--color=auto'
  9. export GREP_COLOR='1;35;40'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement