mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
added dpree.zsh-theme
This commit is contained in:
parent
3552423de3
commit
a0835eb77d
1 changed files with 16 additions and 0 deletions
16
themes/dpree.zsh-theme
Normal file
16
themes/dpree.zsh-theme
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
# dpree.zsh-theme
|
||||||
|
# Preview: http://gyazo.com/28e31261bf74230f04f31afd4140d361.png
|
||||||
|
|
||||||
|
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||||||
|
|
||||||
|
PROMPT='%{$fg[green]%}%~%{$reset_color%} %{$fg[grey]%}$(~/.rvm/bin/rvm-prompt v)|%{$fg[red]%}$(~/.rvm/bin/rvm-prompt i)%{$reset_color%} $(git_prompt_short_sha)$(git_prompt_info) %{$reset_color%} '
|
||||||
|
RPS1="${return_code}"
|
||||||
|
|
||||||
|
# Format for git_prompt_info()
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[yellow]%}⚡%{$reset_color%}"
|
||||||
|
|
||||||
|
# Format for git_prompt_long_sha() and git_prompt_short_sha()
|
||||||
|
ZSH_THEME_GIT_PROMPT_SHA_BEFORE="%{$fg[grey]%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_SHA_AFTER="|%{$reset_color%}"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue