Remove backslash to remove grep warning

New in grep 3.8 apparently is this warning: `grep: warning: stray \ before white
space`.

Explanation: https://github.com/koalaman/shellcheck/issues/2573
pull/327/head
Sean Patrick Hagen 2 years ago
parent 4828218af5
commit 9ff7cd3f3c
No known key found for this signature in database
GPG Key ID: 618FC6E1C001EE4F

@ -857,7 +857,7 @@ function __bobthefish_prompt_golang -S -a real_pwd -d 'Display current Go inform
set -l d $real_pwd
while not [ -z "$d" ]
if [ -e $d/go.mod ]
grep "^go\ " "$d/go.mod" | read __ gomod_version
grep "^go " "$d/go.mod" | read __ gomod_version
break
end

Loading…
Cancel
Save