acomagu / fish-async-prompt

Make your prompt asynchronous to improve the reactivity.
MIT License
390 stars 22 forks source link

Enable to use in macOS #29

Closed delphinus closed 4 years ago

delphinus commented 4 years ago

We cannot use \0 for regexp in macOS's sed (It means the 0 string itself). This patch uses \1 for the whole match instead of \0, and \2 for pids.

acomagu commented 4 years ago

Thanks! I don't have macOS env so your fix is super helpful.