My zsh config made from scratch
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.1 KiB

2 years ago
2 years ago
2 years ago
2 years ago
  1. autoload bashcompinit
  2. bashcompinit
  3. autoload -Uz compinit
  4. compinit
  5. # ZSH menu styling
  6. # Enabling completers, cache and menu with selection.
  7. zstyle :compinstall filename '/home/yessiest/.zshrc'
  8. zstyle ':completion:*' completer _extensions _complete _approximate
  9. zstyle ':completion:*' use-cache on
  10. zstyle ':completion:*' cache-path "$HOME/.cache/zsh/.zcompcache"
  11. zstyle ':completion:*' menu select
  12. zstyle ':completion:*' group-name ''
  13. # Colors for descriptions
  14. zstyle ':completion:*:*:*:*:descriptions' format '%F{green} %B%d%b:%f'
  15. zstyle ':completion:*:*:*:*:corrections' format '%F{yellow} %B%d%b (errors: %e):%f'
  16. # Custom coloring for options
  17. zstyle ':completion:*:options' list-colors '=(#b)*(-- *)=0=38;5;241'
  18. zstyle ':completion:*:commands' list-colors '=(#b)*(-- *)=0=38;5;241'
  19. # wtf git
  20. zstyle ':completion:*:*:git*' list-colors '=(#b)*(-- *)=0=38;5;241'
  21. # Custom coloring for processes
  22. zstyle ':completion:*:processes' list-colors '=(#b) #([0-9]#)*( *[a-z])*=0=38;5;242=32'
  23. # Colors for LS
  24. zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
  25. setopt GLOB_COMPLETE LIST_ROWS_FIRST