diff options
author | Christian Höltje <docwhat@gerf.org> | 2017-07-13 07:42:15 +0300 |
---|---|---|
committer | Christian Höltje <docwhat@gerf.org> | 2017-07-13 07:42:15 +0300 |
commit | 8626d07d60e8c52f79899d406d1d74f9eb3f407a (patch) | |
tree | 2c2359973792a727f452321abd243f0f0d17eb64 /powerlevel9k.zsh-theme | |
parent | 40a12d388fa7fbb73e912cedc0a6c272ede64860 (diff) | |
parent | 82f319d1fbe25fe450d0851a5556545a11d9502d (diff) |
Merge remote-tracking branch 'origin/master' into pr/merge-master
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 1fe5ed4a..b37f12c7 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -829,7 +829,7 @@ prompt_go_version() { go_path=$(go env GOPATH 2>/dev/null) if [[ -n "$go_version" && "${PWD##$go_path}" != "$PWD" ]]; then - "$1_prompt_segment" "$0" "$2" "green" "255" "$go_version" + "$1_prompt_segment" "$0" "$2" "green" "255" "$go_version" "GO_ICON" fi } @@ -1074,7 +1074,7 @@ prompt_rvm() { local gemset=$(echo $GEM_HOME | awk -F'@' '{print $2}') [ "$gemset" != "" ] && gemset="@$gemset" - local version=$(echo $MY_RUBY_HOME | awk -F'-' '{print $2}') + local version=$(echo $MY_RUBY_HOME | awk -F'-' '{print $NF}') if [[ -n "$version$gemset" ]]; then "$1_prompt_segment" "$0" "$2" "240" "$DEFAULT_COLOR" "$version$gemset" 'RUBY_ICON' |