Added the "visual identifier" concept to the `rvm` segment.

This commit is contained in:
Dominik Ritter 2015-12-15 01:05:42 +01:00
parent fd0fcba5e9
commit d514b077d0
1 changed files with 1 additions and 1 deletions

View File

@ -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
}