.zshrc 645 B

123456789101112131415161718192021222324252627282930
  1. setopt prompt_subst
  2. setopt auto_cd
  3. setopt correct_all
  4. setopt bash_auto_list
  5. unsetopt monitor
  6. # Completion
  7. zstyle ':completion:*' completer _expand _complete _ignored
  8. zstyle ':completion:*' matcher-list '' 'r:|[._-]=* r:|=*' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}'
  9. zstyle ':completion:*' squeeze-slashes true
  10. zstyle ':completion:*' use-ip true #ssh completion
  11. zstyle ':completion::complete:*' use-cache 1
  12. autoload -U compinit promptinit
  13. compinit
  14. promptinit; prompt gentoo
  15. RPS1=$'%?|%T'
  16. # History
  17. setopt inc_append_history
  18. setopt hist_reduce_blanks
  19. setopt HIST_IGNORE_DUPS
  20. . ~/.common.sh
  21. function command_not_found_handler() {
  22. fuck
  23. }