mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 07:58:38 +08:00

E.g. if we do `string match -q`, and we find a match, nothing about the input can change anything, so we quit early. This is mainly useful for performance, but it also allows `string` with `-q` to be used with infinite input (e.g. `yes`). Alternative to #7495.