From d6fd154cb7aca02f5264fae3b42170105fe0bdc1 Mon Sep 17 00:00:00 2001 From: Patrick Date: Thu, 30 Apr 2020 13:06:26 -0700 Subject: [PATCH] use tokenize option to remove extraneous spaces --- fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish_prompt.fish b/fish_prompt.fish index b2069ef..2d61869 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -777,7 +777,7 @@ function __bobthefish_prompt_rubies -S -d 'Display current Ruby information' else if type -q chruby # chruby is implemented as a function, so omitting the -f is intentional set ruby_version $RUBY_VERSION else if type -fq asdf - asdf current ruby 2>/dev/null | string trim - l | read -l asdf_ruby_version asdf_provenance + asdf current ruby 2>/dev/null | read -l -t asdf_ruby_version asdf_provenance or return # If asdf changes their ruby version provenance format, update this to match