You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement an asynchronous feature to put in the RPROMPT. In short, I'm trying to get language versions and set them up in RPROMPT as alien-minimal does. I did. But I'm not sure if I did it in the best way. So, I want some advice about how doing this.
Hi, sorry for the long delay. We can't really provide support in modifying Pure / using zsh-async here. But mostly I'd say you're on the right path. I would, however, move prompt_pure_langs_compose out of the callback and into the function that's running asynchronously. I'm assuming that's the one that might take a while and as the code is now, it's not really taking advantage of the async behavior.
I'm trying to implement an asynchronous feature to put in the RPROMPT. In short, I'm trying to get language versions and set them up in RPROMPT as alien-minimal does. I did. But I'm not sure if I did it in the best way. So, I want some advice about how doing this.
I coded something like:
It's a brief of what I did. But, what can I do to make this code better?
Thanks!
The text was updated successfully, but these errors were encountered: