my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
788 B

3 years ago
  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=''