diff options
author | HaoZeke <rohit.goswami@aol.com> | 2019-01-04 06:14:32 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2019-01-25 10:21:10 +0300 |
commit | a41f2e81ae30a5e64269c8079e75acfd878a6cb8 (patch) | |
tree | 110a4905b42bfd939b5c0924a5fabc2718dbb1aa /powerlevel9k.zsh-theme | |
parent | 1da5fd2ed79df388bd1b601e5b27f6447e2075f7 (diff) |
rvm: Only show version and patchset
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index a0869f19..bed5b9cc 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -1365,7 +1365,7 @@ prompt_rspec_stats() { ################################################################ # Segment to display Ruby Version Manager information prompt_rvm() { - local version_and_gemset=${$(rvm-prompt)/ruby-} + local version_and_gemset=${$(rvm-prompt v p)/ruby-} if [[ -n "$version_and_gemset" ]]; then "$1_prompt_segment" "$0" "$2" "240" "$DEFAULT_COLOR" "$version_and_gemset" 'RUBY_ICON' |