summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-12-15 03:05:42 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-12-15 04:08:59 +0300
commitd514b077d09359860b9450da696e3377e5643740 (patch)
tree962ec9168090d1fc3481b4b4afccde2bb8c71f0b /powerlevel9k.zsh-theme
parentfd0fcba5e9b14f27879c209ec056d23adc189026 (diff)
Added the "visual identifier" concept to the `rvm` segment.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 362cacb3..e3e135bb 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -589,7 +589,7 @@ prompt_rvm() {
local version=$(echo $MY_RUBY_HOME | awk -F'-' '{print $2}')
if [[ -n "$version$gemset" ]]; then
- "$1_prompt_segment" "$0" "240" "$DEFAULT_COLOR" "$version$gemset $(print_icon 'RUBY_ICON') "
+ "$1_prompt_segment" "$0" "240" "$DEFAULT_COLOR" "$version$gemset" 'RUBY_ICON'
fi
}