acomagu / fish-async-prompt

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

by default passing CMD_DURATION to prompt function #23

Closed miki725 closed 4 years ago

miki725 commented 4 years ago

I use starship which has a feature to show command duration:

image

Whenever fish-async-prompt is used, the duration disappears:

image

That is because CMD_DURATION is not passed to the underlying prompt function. This PR passes it by default.

acomagu commented 4 years ago

Thanks a lot! ❤️