mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-04 20:07:25 +08:00

Otherwise this would complete `git --exec-path=foo`, by running `complete -C"'' --exec-path=foo"`, which would print "--exec-path=foo", and so it would end as `git --exec-path=--exec-path=foo` because the "replaces token" bit was lost. I'm not sure how to solve it cleanly - maybe an additional option to `complete`? Anyway, for now this Fixes #9538. (cherry picked from commit c39780fefbfc26554cd2ff0c8400884ced4c07e7)