fish, version 3.5.1
Yes, this happens in a clean environment.
I manage my Github clones with a script called gh, which I invoke via ./gh foo/bar.
Fish seems to think I'm trying to run the global gh command, which is not the case - I don't use Github's client but I suppose theirs is similarly named gh.
Whenever I write ./gh foo/bar, I get the error message:
/opt/homebrew/Cellar/fish/3.5.1/share/fish/completions/gh.fish (line 1):
gh completion --shell fish 2>/dev/null | source
^
from sourcing file /opt/homebrew/Cellar/fish/3.5.1/share/fish/completions/gh.fish
Shouldn't it be seeing that I'm writing ./gh and not gh and ignore it?