diff --git a/functions/fish_prompt.fish b/functions/fish_prompt.fish index 1bfe471..75e3911 100644 --- a/functions/fish_prompt.fish +++ b/functions/fish_prompt.fish @@ -865,7 +865,7 @@ function __bobthefish_prompt_golang -S -d 'Display current Go information' if test -f "$gomod_file" set found_gomod 1 - cat "$gomod_file" | grep "^go\ " | read _gomod gomod_version + grep "^go\ " "$gomod_file" | read __ gomod_version break end