BSDG33KCLUB

.bashrc (very awesome bash prompt)

Feb 7th, 2014
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. # ANSI color codes
  2. RS="\[\033[0m\]" # reset
  3. HC="\[\033[1m\]" # hicolor
  4. UL="\[\033[4m\]" # underline
  5. INV="\[\033[7m\]" # inverse background and foreground
  6. FBLK="\[\033[30m\]" # foreground black
  7. FRED="\[\033[31m\]" # foreground red
  8. FGRN="\[\033[32m\]" # foreground green
  9. FYEL="\[\033[33m\]" # foreground yellow
  10. FBLE="\[\033[34m\]" # foreground blue
  11. FMAG="\[\033[35m\]" # foreground magenta
  12. FCYN="\[\033[36m\]" # foreground cyan
  13. FWHT="\[\033[37m\]" # foreground white
  14. BBLK="\[\033[40m\]" # background black
  15. BRED="\[\033[41m\]" # background red
  16. BGRN="\[\033[42m\]" # background green
  17. BYEL="\[\033[43m\]" # background yellow
  18. BBLE="\[\033[44m\]" # background blue
  19. BMAG="\[\033[45m\]" # background magenta
  20. BCYN="\[\033[46m\]" # background cyan
  21. BWHT="\[\033[47m\]" # background white
  22.  
  23.  
  24. # Prompt
  25. PS1="$HC$FWHT┌─╼$FRED[$HC$FBLE\u$FRED]$HC$FWHT╾─╼$FRED[$HC$FBLE\w$FRED]$HC$FWHT\n└─╼$RS "
Advertisement
Add Comment
Please, Sign In to add comment