zsh-autosuggestions
zsh-autosuggestions copied to clipboard
zsh autosuggest completion not working.
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
Hi, the completion strategy is not working for me on Mac OS Monterey. I am using oh my zsh
History suggestion works great but completion strategy doesn't work at all. Documentation says zpty module is required. Internet says it comes pre-installed with the latest versions of zsh. is there a way to install it if it doesn't come pre-installed ?
I also can't get autosuggestion working on my Mac M1 with Monterey. Oh my zsh is working fine, powerlevel10k theme is working fine but nothing from zsh plugins wants to work.
I already tried uninstalling everything and re-install, same problem. Is there a known problem maybe on MacOS M1 SoC or Monterey?
I also can't get completion strategy to work on my Macbook M2 with Monterey.
Yes, I was also facing issue with my newly purchased Mac M1 with Monterey OS. The problem got installed by removing plugins=(git zsh-autosuggesions) section and manually adding entry as the bottom-most line. checkout here Don't forget to thumbs-up, if it solves your problem
I got it solved by completely deleting .ohmyzsh folder and re-run the installation. I think the problem is that latest M1 MacOS by default ships zsh as shell but something not fully compatible with all plugins. Deleting everything and manually installing it with Homebrew did seem to fix the problem.
Hi guys,
Same problem here but using homebrew
on MacOS Monterey (12.6.1)
on zsh
(and starship
prompt). Just ran the brew script but I can't find any info about any additional configuration if needed.
EDIT 22/02/2023: migrated to Ventura 13.2.1 and same issue
Same issue here. Installed using brew
on Intel Core i5 running macOS Monterey 12.6.3. history
works fine, but completion
does not work at all.
I'm experiencing the same problem as @davisssamuel. Installed by cloning the repository on Intel Core i7, running macOS Ventura 13.2.1 on zhs with Starship prompt. I don't have Oh My Zsh installed.
same i am on Fedora, history works but completion does not
Same here, m1 mac
Same issue here on Amazon Linux 2
Please validate below points to fix zsh-autosuggestions
- Make sure you do not define
plugins=()
twice in~/.zshrc
file. Sometimes while installingOh My Zsh
andPowerlevel10k
,plugins=(git)
automatically gets added, and you end up getting added it twice. - In
~/.zshrc
file,plugins=(git)
line should come beforesource $ZSH/oh-my-zsh.sh
.
If you mess up with step 2, you will end up debugging for hours.