mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Test for rbenv
This commit is contained in:
parent
e27b305667
commit
1d491960fb
1 changed files with 4 additions and 1 deletions
|
|
@ -6,4 +6,7 @@ ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡%{$reset_color%}"
|
|||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||
|
||||
PROMPT='%~%{$reset_color%}$(git_prompt_info) ★ %{$reset_color%}'
|
||||
RPROMPT='%{$fg[blue]%}$(rbenv version | cut -d " " -f 1 | sed "s/-/ /g")%{$reset_color%}'
|
||||
|
||||
if which rbenv &> /dev/null; then
|
||||
RPROMPT='%{$fg[blue]%}$(rbenv version | cut -d " " -f 1 | sed "s/-/ /g")%{$reset_color%}'
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue