mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Oops :)
This commit is contained in:
parent
7d6c23e1dd
commit
d8d7a544cf
@ -604,8 +604,8 @@ function __bobthefish_prompt_rubies -S -d 'Display current Ruby information'
|
|||||||
else if type -q chruby
|
else if type -q chruby
|
||||||
set ruby_version $RUBY_VERSION
|
set ruby_version $RUBY_VERSION
|
||||||
else if type -q asdf
|
else if type -q asdf
|
||||||
set -l asdf_current_ruby (asdf current ruby ^/dev/null); or return
|
asdf current ruby ^/dev/null | read -l asdf_ruby_version asdf_provenance
|
||||||
read -l asdf_ruby_version asdf_provenance -- $asdf_current_ruby
|
or return
|
||||||
|
|
||||||
# If asdf changes their ruby version provenance format, update this to match
|
# If asdf changes their ruby version provenance format, update this to match
|
||||||
[ "$asdf_provenance" = "(set by $HOME/.tool-versions)" ]; and return
|
[ "$asdf_provenance" = "(set by $HOME/.tool-versions)" ]; and return
|
||||||
|
Loading…
Reference in New Issue
Block a user