Open antony-frolov opened 2 years ago
Thanks for this issue! "Solved" my problem too :)
I also have this problem. How can I solve it?
I have the same problem. @0scarecrow0 If I disable zsh-autosuggestions, fig works properly again.
But it would be nice to have zsh-autosuggestions while using fig!
Same problem here too. Any workaround other than disabling zsh-autosuggestions
?
Try sourcing zsh-syntax-highlighting last, I guess that helped me.
I spent an evening to figure this out then finally I found this probably could help you guys. If you are seeing zsh-autosuggestion autocompleting your commands as it turns write instead of grey as normal. Try to remove zsh-autosuggestions and zsh-syntax-highlighting from your disk and then re-install them, restart your terminal and you might see everything works.
@rhryansu weird, same here. This just started working for me. Maybe after a reboot or after having pulled down the latest of zsh-autosuggestions and/or zsh-syntax-highlighting. Not sure 🤷 but at least now auto-suggestions, highlighting and fig works on my Apple M1 machine in zsh 🎉
EDIT: turns out it only "kind of" works. I have to type cd
followed by space and the two first characters of the folder name before the popup shows.
Thanks for this issue! "Solved" my problem too :)
How you solved it?
@biko8 I removed it, to make it work.
Here is what I did:
cd $ZSH_CUSTOM/plugins/zsh-autosuggestions
git pull
cd $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git pull
And all solved!
Sanity checks
fig doctor
in the affected terminal sessionIssue Details
Description:
Fig autosuggestions behave inconsistently when zsh-autosuggestions is enabled. Installing zsh-autosuggestions with Fig also doesn't help. Disabling zsh-autosuggestions solves the problem. Fig doctor tells me that everything is fine.
https://user-images.githubusercontent.com/69483357/174062007-c3203819-85bd-474f-b053-ca8350d6dba9.mp4
Environment