-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
prompt_sorin_precmd_async:local:13: not valid in this context: -A #1384
Comments
I do have a terminal that has been long-running and has old zsh configuration. There is a difference: The working code returns for
and this correlates with whether i'm in a git repo and its state, naturally. In the new code, the result is
also probably coming over stderr so it doesn't get slurped up at all... So I don't know what is different but this isn't working right on Sierra. Everything's fine in Ubuntu. |
There are a myriad of issues with how async is implemented in the sorin prompt. I have an experimental prompt I've been using which is based off the sorin prompt to learn zsh-async (https://github.com/belak/dotfiles/blob/master/belak/zsh/prompt_belak_setup) but I've got a few tweaks to make before the sorin prompt can be updated to match. It should fix this issue (among other things). |
Trying
Sierra:
Does not appear to be enough evidence for anything. gonna do more |
I'm seeing this on Sierra:
ubuntu...
|
@belak is there another prompt that has almost as many features that is more stable? |
Right now, I'm not sure... I'm partial to agnoster, but that has a known potential security hole in it and we need to decide how to handle it... I'll hopefully have a fix for sorin some time today though. |
Alright. I've switched to paradox theme. It's got some quirks with its completion helper printing though. |
There's a potential fix in the PR which I just opened. :) Feel free to check it out and let me know if you still have problems with it. |
running your PR now. seems good so far |
I have the same problem in Debian 8.8 zsh 5.0.7
|
When you switched to the other branch did you make sure submodules were updated? |
This error
is appended to each new prompt on macOS Sierra after updating to recent commit on master.
modules/prompt/functions/prompt_sorin_setup:66
which is line 13 ofprompt_sorin_precmd_async
is:The text was updated successfully, but these errors were encountered: