diff --git a/fish_prompt.fish b/fish_prompt.fish index 7033587..42071d1 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -781,7 +781,7 @@ function __bobthefish_prompt_rubies -S -d 'Display current Ruby information' or return # If asdf changes their ruby version provenance format, update this to match - [ "$asdf_provenance" = "(set by $HOME/.tool-versions)" ] + [ (string trim -- "$asdf_provenance") = "(set by $HOME/.tool-versions)" ] and return set ruby_version $asdf_ruby_version