acomagu / fish-async-prompt

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

prompt does not render in fish 3.1 (dev or upcoming 3.2) #40

Closed miki725 closed 3 years ago

miki725 commented 3 years ago

Just installed fish 3.1 dev from git or upcoming 3.2 and noticed that async prompt does not render automatically when starting fish:

$ fish
Welcome to fish, the friendly interactive shell

the prompt will not appear until pressing Enter. Probably some incompatibility with latest fish.

$ fish --version
fish, version 3.1.2-1616-g3e3a42c12
jorgebucaran commented 3 years ago

@miki725 You must mean 3.1.

acomagu commented 3 years ago

@miki725 @jorgebucaran Must be fixed at 3564a29. Could you try it?

miki725 commented 3 years ago

seems to be working. thanks for the quick fix!

miki725 commented 3 years ago

it broke on mac though:

<W> fish: An error occurred while redirecting file '/run/user/501/fish-async-prompt/21225_fish_prompt'
open: No such file or directory
acomagu commented 3 years ago

@miki725 Thank you for trying. I changed the tmpdir to /tmp from /run at 358dda6. Please try it again? :sweat_drops:

miki725 commented 3 years ago

seems to be working fine. thanks

acomagu commented 3 years ago

@miki725 Thank you!!