My dotfiles. Period.

colors.bashrc 871B

1234567891011121314151617181920212223242526
  1. #!/bin/sh
  2. # get some fancy colorz
  3. black="\[\033[0;30m\]"
  4. red="\[\033[0;31m\]"
  5. green="\[\033[0;32m\]"
  6. yellow="\[\033[0;33m\]"
  7. blue="\[\033[0;34m\]"
  8. magenta="\[\033[0;35m\]"
  9. cyan="\[\033[0;36m\]"
  10. white="\[\033[0;37m\]"
  11. lblack="\[\033[1;30m\]"
  12. lred="\[\033[1;31m\]"
  13. lgreen="\[\033[1;32m\]"
  14. lyellow="\[\033[1;33m\]"
  15. lblue="\[\033[1;34m\]"
  16. lmagenta="\[\033[1;35m\]"
  17. lcyan="\[\033[1;36m\]"
  18. lwhite="\[\033[1;37m\]"
  19. normal="\[\033[1;0m\]"
  20. coldemo="colors demo: \n$black black$red red$green green$yellow yellow"
  21. coldemo="${coldemo}$blue blue$magenta magenta$cyan cyan$white white\n "
  22. coldemo="${coldemo}$lblack lblack$lred lred$lgreen lgreen$lyellow lyellow"
  23. coldemo="${coldemo}$lblue lblue$lmagenta lmagenta$lcyan lcyan$lwhite lwhite\n"
  24. coldemo="${coldemo}$normal normal\n"