Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

[Bugfix] Make prompt_rvm list gemset #1353

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion powerlevel9k.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ prompt_rspec_stats() {
# Segment to display Ruby Version Manager information
prompt_rvm() {
if [ $commands[rvm-prompt] ]; then
local version_and_gemset=${$(rvm-prompt v p)/ruby-}
local version_and_gemset=$(rvm-prompt v p g)

if [[ -n "$version_and_gemset" ]]; then
"$1_prompt_segment" "$0" "$2" "240" "$DEFAULT_COLOR" "$version_and_gemset" 'RUBY_ICON'
Expand Down