Open ajilty opened 2 months ago
I have the same issue I'm on Nixos with zsh-5.9-0-g73d3173. Completions for recent directories works with 23.07.13 but not with 24.09.04.
I guess the latest release changed the behaviour,
https://github.com/marlonrichert/zsh-autocomplete/commit/a8fdd21227d76e077ad034c6ff7108ae44bd57a7 Move recent paths completion to a keybinding. Resolves https://github.com/marlonrichert/zsh-autocomplete/issues/640.
Is there a way to get the old one back? My autocompletions now no longer suggest the paths I use the most.
for example I could write
$ cd abc
and the autocomplete would suggest
~/Projects/company/abc
which was super neat
@marlonrichert do you have any suggestions please?
ah this is what broke recent-directories
- I thought it was upgrading to sequoia - is downgrading the version in homebrew possible 🤔
For those that miss autocomplete on ~/Projects/company/abc
as much as me 😅
brew uninstall zsh-autocomplete
brew tap homebrew/core --force
brew extract --version=23.07.13 zsh-autocomplete $USER/local-zsh-autocomplete
brew install zsh-autocomplete@23.07.13
brew pin zsh-autocomplete@23.07.13
You'll then need to update your source
, eg: source /path/to/zsh-autocomplete/zsh-autocomplete.plugin.zsh
-> source /path/to/zsh-autocomplete@23.07.13/zsh-autocomplete.plugin.zsh
(for me /path/to
== brew --prefix
) and then autocomplete recent-directories working as before 🎉
Downgrading is surely a possible workaround. Hopefully it won't be the only solution and we can get this behavior back to the new versions :]
trying to figure this out, and upon looking at https://github.com/marlonrichert/zsh-autocomplete/issues/761 I figured trying setopt interactivecomments
- and that seems to work!
looking at the issue template, setopt interactivecomments
is part of the boilerplate, so seems like the new release changed requires interactivecomments
to be set.
tl;dr - docs probably just need to be updated to note setopt interactivecomments
must be set
Environment
Steps to reproduce
Contents of
/var/folders/j6/pjs4p22d77v7bvs6ds534c140000gp/T/tmp.gmBn94rnKi/.local/state/zsh-autocomplete/log/2024-09-12.log
(click to expand)