Hi there
I like to use this autocompletion plugin for zsh and some time ago it worked completely fine. Until now I had zplug set up with home-manager to load the plugin, but I want to switch to using plugins from nixpkgs instead and so I changed my configuration accordingly. This is what that looks like (excerpt):
home-manager.users.mertyn.programs.zsh = {
enable = true;
enableCompletion = false;
plugins = [{
name = "zsh-autocomplete";
src = "${pkgs.zsh-autocomplete}/share/zsh-autocomplete";
}];
};
Now I am having a problem with this: for some reason the completion doesn’t fully work like it used to. When starting to type a command you are supposed to already get some suggestions below the prompt listing available programs, aliases, functions etc. Simple tab completion after having started typing still works, but the listing is quite helpful as well.
The most curious thing about this is, that even if I reboot an older configuration or rebuild my system with an older revision of my config, the previous behavior is not restored. I have also tried this out on another machine, that didn’t have my new config before and I observered the exact same problem. Autosuggestions are broken and rolling back does not change anything.
I have also tried removing zsh as my shell and everything related to it in my home directory, then run garbage collection, to remove any remnants, and then reenabling all of my config related to zsh. That also sadly did not make a difference. Is it possible, that I still left some things related to zsh in my home? I found many files and folders that had zsh in their name, but I was trying to be careful and not delete anything I shouldn’t.
Most recently I even tried rolling back all of my packages to stable nixpkgs, instead of unstable I am using on my desktop computers, still with no change.
This seems like a really specific problem, but if anyone knows anything or has any suggestions, I would appreciate it very much.
Thanks in advance