Advertisement
Guest User

custom colors

a guest
Mar 4th, 2015
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.58 KB | None | 0 0
  1. # custom bash colors
  2. export PS1="\[\e[0;31m\]\u\[\e[0;36m\][\w]\[\e[0;33m\]\$(parse_git_branch)\[\e[1;32m\]\$\[\e[m\]\[\e[1;32m\]: "
  3. export CLICOLOR=1
  4. export LSCOLORS=ExFxBxDxCxegedabagacad
  5.  
  6. # Show Git Branch
  7. parse_git_branch() {
  8.     git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
  9. }
  10.  
  11. # $PATH vars
  12. export PATH=/usr/local/git/bin:$PATH
  13.  
  14. # aliases
  15. alias l="ls"
  16. alias ll="ls -la"
  17. alias fb="ssh fbadmin@fortunebuilders.com"
  18. alias mysql="/Applications/MAMP/Library/bin/mysql"
  19. alias fbdev="ssh fbdev@fbdevserver.com"
  20. alias fbdevroot="ssh root@192.232.214.112"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement