Hacker News new | ask | show | jobs
by mangix 2320 days ago
I wonder if this is also a problem with fish. The globing there is different.
2 comments

Fish won't pass along the unmatched glob, so in the given example you'd notice that with

    find . -name *.py
it will error initially, because there is no "*.py" in the current directory.

Globbing is still a thing fish as the shell does, and you still need to protect asterisks that need to reach commands, but you're more likely to notice.

(for bash there is also the "failglob" option that I personally recommend)

Disclaimer: I am a fish developer.

Fish basically forces you to single quote commands that contain wildcard characters.