Ensure we go up a directory each iteration

Whoops
This commit is contained in:
Sean Patrick Hagen 2022-06-17 12:58:52 -07:00
parent 92a2e46734
commit bb9c3f1946
No known key found for this signature in database
GPG Key ID: 618FC6E1C001EE4F

View File

@ -864,6 +864,8 @@ function __bobthefish_prompt_golang -S -d 'Display current Go information'
[ "$d" = "/" ]
and return
set d (__bobthefish_dirname $d)
end
# no go.mod, not in a go project, don't display the prompt