colors.zsh 341 B

1234567891011121314151617181920
  1. autoload -U colors && colors
  2. [ "${ZSH_HIGHLIGHT_PATTERNS[*]}" ] && {
  3. ZSH_HIGHLIGHT_PATTERNS+=(
  4. ['rm -r*']='fg=white,bold,bg=red'
  5. ['rr *']='fg=white,bold,bg=red'
  6. )
  7. }
  8. [ "${ZSH_HIGHLIGHT_STYLES[*]}" ] && {
  9. ZSH_HIGHLIGHT_STYLES+=(
  10. ['alias']='fg=34,bold'
  11. ['path']='fg=63'
  12. )
  13. }
  14. ZSH_HIGHLIGHT_HIGHLIGHTERS=( main brackets pattern )