Skip to content

Commit

Permalink
Always show the ruby version in the prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Darrick Wiebe committed Sep 3, 2009
1 parent d88b096 commit 5835505
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bash/git.sh
Expand Up @@ -5,6 +5,7 @@ alias gc='git commit -v'
alias gca='git commit -v -a'
alias gr='git remote -v'
alias gb='git branch -a'
alias gd='git diff'
alias gdc='git diff --cached'

# git rm files that have already been deleted.
Expand Down
2 changes: 1 addition & 1 deletion bash/git_prompt.sh
Expand Up @@ -86,7 +86,7 @@ function prompt_func() {
PS1="${prompt}${RED}${COLOR_NONE}"
fi
else
PS1="\u:\w \$${COLOR_NONE} "
PS1="\u:${RUBY_VER}:\w \$${COLOR_NONE} "
fi
}

Expand Down

0 comments on commit 5835505

Please sign in to comment.