muse.zsh-theme 1.1 KB

123456789101112131415161718192021222324252627282930
  1. #!/usr/bin/env zsh
  2. #local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
  3. setopt promptsubst
  4. autoload -U add-zsh-hook
  5. PROMPT_SUCCESS_COLOR=$FG[117]
  6. PROMPT_FAILURE_COLOR=$FG[124]
  7. PROMPT_VCS_INFO_COLOR=$FG[242]
  8. PROMPT_PROMPT=$FG[077]
  9. GIT_DIRTY_COLOR=$FG[133]
  10. GIT_CLEAN_COLOR=$FG[118]
  11. GIT_PROMPT_INFO=$FG[012]
  12. PROMPT='%{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%} %{$GIT_PROMPT_INFO%}$(git_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}%{$PROMPT_PROMPT%}ᐅ%{$reset_color%} '
  13. #RPS1="${return_code}"
  14. ZSH_THEME_GIT_PROMPT_PREFIX="("
  15. ZSH_THEME_GIT_PROMPT_SUFFIX="%{$GIT_PROMPT_INFO%})"
  16. ZSH_THEME_GIT_PROMPT_DIRTY=" %{$GIT_DIRTY_COLOR%}✘"
  17. ZSH_THEME_GIT_PROMPT_CLEAN=" %{$GIT_CLEAN_COLOR%}✔"
  18. ZSH_THEME_GIT_PROMPT_ADDED="%{$FG[082]%}✚%{$reset_color%}"
  19. ZSH_THEME_GIT_PROMPT_MODIFIED="%{$FG[166]%}✹%{$reset_color%}"
  20. ZSH_THEME_GIT_PROMPT_DELETED="%{$FG[160]%}✖%{$reset_color%}"
  21. ZSH_THEME_GIT_PROMPT_RENAMED="%{$FG[220]%}➜%{$reset_color%}"
  22. ZSH_THEME_GIT_PROMPT_UNMERGED="%{$FG[082]%}═%{$reset_color%}"
  23. ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$FG[190]%}✭%{$reset_color%}"