Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support with Spaceship Prompt #58

Open
denysdovhan opened this issue Nov 7, 2022 · 0 comments
Open

Support with Spaceship Prompt #58

denysdovhan opened this issue Nov 7, 2022 · 0 comments

Comments

@denysdovhan
Copy link

Starting v4.0 Spaceship Prompt has adopted zsh-async as a library for async rendering.

However, our users (primarily on Linux) are facing some issues related with async rendering. Here are two major ones:

Sometimes jobs are stuck

We run each section of the prompt to be run as an async job. Sometimes these jobs just stuck, hanging without finishing.

See for discussion: spaceship-prompt/spaceship-prompt#1193

Worker dies unexpectedly

When starting up, Spaceship creates a new worker. Sometimes this often just dies.

See for discussion: spaceship-prompt/spaceship-prompt#1207

How do we use zsh-async?

We encapsulate all of the methods we use within a worker.zsh file: https://github.com/spaceship-prompt/spaceship-prompt/blob/master/lib/worker.zsh

I would be grateful for help with debugging this issues. Other users would be deeply grateful as well. I will gladly provide any additional info you might require.

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant