zshrc 492 B

1234567891011121314151617181920
  1. [[ -r ~/.zshlocal ]] && source ~/.zshlocal
  2. source ~/dotfiles/shell/common/load
  3. for file in ~/dotfiles/shell/zsh/*.zsh; do
  4. source $file
  5. done
  6. # Command Prompt
  7. #
  8. # [host] directory gitinfo jobinfo
  9. # user - vimode time histeventno
  10. #
  11. setopt PROMPT_SUBST
  12. PROMPT='
  13. $FG[6][%m] $FG[3]%3~$(__gitp " %s")%(1j. $FG[63][jobs]: $FG[1]%j.)
  14. $FG[5]%n - $cReset'
  15. RPROMPT='$(vimode) $cReset%T $FG[7]%h$cReset'
  16. [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh