mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-13 05:45:15 +08:00

\b does not match "end of spaces" but rather "start of a-z/0-9" and so does not match the start of string '-c'. Match (and then re-insert) a literal ' ' as part of the pattern instead. (cherry picked from commit b61c4f1cbccbb0dbf771e2f3204fa57ab9caad1b)