mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-14 18:00:08 +00:00
muse: clean up theme
This commit is contained in:
parent
da01dc91bf
commit
0f3c424e4c
1 changed files with 11 additions and 28 deletions
|
@ -1,33 +1,16 @@
|
||||||
#!/usr/bin/env zsh
|
PROMPT="${FG[117]}%~%{$reset_color%}\$(git_prompt_info)\$(virtualenv_prompt_info)${FG[133]}\$(git_prompt_status) ${FG[077]}ᐅ%{$reset_color%} "
|
||||||
#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
|
||||||
|
|
||||||
setopt promptsubst
|
ZSH_THEME_GIT_PROMPT_PREFIX=" ${FG[012]}("
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="${FG[012]})%{$reset_color%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY=" ${FG[133]}✘"
|
||||||
|
ZSH_THEME_GIT_PROMPT_CLEAN=" ${FG[118]}✔"
|
||||||
|
|
||||||
autoload -U add-zsh-hook
|
ZSH_THEME_GIT_PROMPT_ADDED="${FG[082]}✚%{$reset_color%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_MODIFIED="${FG[166]}✹%{$reset_color%}"
|
||||||
PROMPT_SUCCESS_COLOR=$FG[117]
|
ZSH_THEME_GIT_PROMPT_DELETED="${FG[160]}✖%{$reset_color%}"
|
||||||
PROMPT_FAILURE_COLOR=$FG[124]
|
ZSH_THEME_GIT_PROMPT_RENAMED="${FG[220]}➜%{$reset_color%}"
|
||||||
PROMPT_VCS_INFO_COLOR=$FG[242]
|
ZSH_THEME_GIT_PROMPT_UNMERGED="${FG[082]}═%{$reset_color%}"
|
||||||
PROMPT_PROMPT=$FG[077]
|
ZSH_THEME_GIT_PROMPT_UNTRACKED="${FG[190]}✭%{$reset_color%}"
|
||||||
GIT_DIRTY_COLOR=$FG[133]
|
|
||||||
GIT_CLEAN_COLOR=$FG[118]
|
|
||||||
GIT_PROMPT_INFO=$FG[012]
|
|
||||||
|
|
||||||
PROMPT='%{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%}%{$GIT_PROMPT_INFO%}$(git_prompt_info)$(virtualenv_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}%{$PROMPT_PROMPT%}ᐅ%{$reset_color%} '
|
|
||||||
|
|
||||||
#RPS1="${return_code}"
|
|
||||||
|
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX=" ("
|
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$GIT_PROMPT_INFO%})"
|
|
||||||
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$GIT_DIRTY_COLOR%}✘"
|
|
||||||
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$GIT_CLEAN_COLOR%}✔"
|
|
||||||
|
|
||||||
ZSH_THEME_GIT_PROMPT_ADDED="%{$FG[082]%}✚%{$reset_color%}"
|
|
||||||
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$FG[166]%}✹%{$reset_color%}"
|
|
||||||
ZSH_THEME_GIT_PROMPT_DELETED="%{$FG[160]%}✖%{$reset_color%}"
|
|
||||||
ZSH_THEME_GIT_PROMPT_RENAMED="%{$FG[220]%}➜%{$reset_color%}"
|
|
||||||
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$FG[082]%}═%{$reset_color%}"
|
|
||||||
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$FG[190]%}✭%{$reset_color%}"
|
|
||||||
|
|
||||||
ZSH_THEME_VIRTUALENV_PREFIX=" ["
|
ZSH_THEME_VIRTUALENV_PREFIX=" ["
|
||||||
ZSH_THEME_VIRTUALENV_SUFFIX="]"
|
ZSH_THEME_VIRTUALENV_SUFFIX="]"
|
||||||
|
|
Loading…
Reference in a new issue