zshrc 498 B

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