takashiyoshida.zsh-theme 788 B

123456789101112131415161718192021222324252627
  1. #
  2. # PROMPT
  3. #
  4. PROMPT_BRACKET_BEGIN='%{$fg_bold[white]%}['
  5. PROMPT_HOST='%{$fg_bold[cyan]%}%m'
  6. PROMPT_SEPARATOR='%{$reset_color%}:'
  7. PROMPT_DIR='%{$fg_bold[yellow]%}%c'
  8. PROMPT_BRACKET_END='%{$fg_bold[white]%}]'
  9. PROMPT_USER='%{$fg_bold[white]%}%n'
  10. PROMPT_SIGN='%{$reset_color%}%#'
  11. GIT_PROMPT_INFO='$(git_prompt_info)'
  12. # My current prompt looks like:
  13. # [host:current_dir] (git_prompt_info)
  14. # [username]%
  15. PROMPT="${PROMPT_BRACKET_BEGIN}${PROMPT_HOST}${PROMPT_SEPARATOR}${PROMPT_DIR}${PROMPT_BRACKET_END}${GIT_PROMPT_INFO}
  16. ${PROMPT_BRACKET_BEGIN}${PROMPT_USER}${PROMPT_BRACKET_END}${PROMPT_SIGN} "
  17. #
  18. # Git repository
  19. #
  20. ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}"
  21. ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
  22. ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}!"
  23. ZSH_THEME_GIT_PROMPT_CLEAN=''