zshrc 817 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Lines configured by zsh-newuser-install
  2. HISTFILE=~/.histfile
  3. HISTSIZE=1000
  4. SAVEHIST=1000
  5. bindkey -e
  6. # End of lines configured by zsh-newuser-install
  7. # The following lines were added by compinstall
  8. zstyle :compinstall filename '/home/aeth/.zshrc'
  9. zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*'
  10. autoload -Uz compinit && compinit
  11. autoload -Uz compinit
  12. compinit
  13. # End of lines added by compinstall
  14. autoload -Uz vcs_info
  15. precmd_vcs_info() { vcs_info }
  16. precmd_functions+=( precmd_vcs_info )
  17. setopt prompt_subst
  18. RPROMPT='${vcs_info_msg_0_}'
  19. # PROMPT='${vcs_info_msg_0_}%# '
  20. zstyle ':vcs_info:git:*' formats '%b'
  21. setopt PROMPT_SUBST
  22. PROMPT='%F{green}%*%f %B%F{blue}%n@%M: %B%F{#FFB6C1}%~%f %F{red}${vcs_info_msg_0_}%f$ '
  23. path+=('/home/aeth/go/bin')
  24. # aliases
  25. alias ls="ls -l"