Skip to content

Commit

Permalink
fix rbenv prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
holman committed Apr 10, 2012
1 parent 9e270f2 commit 693cf52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh/prompt.zsh
Expand Up @@ -43,7 +43,7 @@ need_push () {
rb_prompt(){
if $(which rbenv &> /dev/null)
then
echo "%{$fg_bold[yellow]%}$(cat $HOME/.rbenv/version)%{$reset_color%}"
echo "%{$fg_bold[yellow]%}$(rbenv version | awk '{print $1}')%{$reset_color%}"
else
echo ""
fi
Expand Down

0 comments on commit 693cf52

Please sign in to comment.