$ git -C ~zsh-autocomplete switch main # Make sure you test with the `main` branch.
$ git -C ~zsh-autocomplete pull # Update to the latest commit.
$ cd $(mktemp -d) # Create a temp dir and enter it.
$ unset _comp_dumpfile ZDOTDIR XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME
$ HOME=$PWD exec zsh -f # Restart Zsh without config files in this dir.
% source /path/to/zsh-autocomplete/zsh-autocomplete.plugin.zsh
% clear
# press arrow up
_autocomplete.history_lines:19: invalid subscript
I want to highlight that I haven't run the entire procedure, my zsh-autocomplete points to the main branch. I run only from clear.
And I loaded these completion settings below in my env:
zsh-autocomplete
version: 966312b149fb82a9d01144454de886b6a626ce69I want to highlight that I haven't run the entire procedure, my zsh-autocomplete points to the main branch. I run only from
clear
.And I loaded these completion settings below in my env: