Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Announcement of Zsh Command Architect v1.0



Hello
I've added setopt before history setup:

setopt hist_lex_words
HISTSIZE=20000
SAVEHIST=20000
HISTFILE=~/.zhistory

and still Alt-/ (now bound by myself not by compinit) only completes
the "_" delimeted word. However, the other word is now displayed by
print -lr "${historywords[@]}" | fgrep Voice:

https://asciinema.org/a/03x7dhxwu9ona61kso5rlgo8z

The two words are:
The_Voice_of_Poland_VI_Krzysztof_Iwaneczko_Writings_On_The_Wall_Fina.mp4
The\ Voice\ of\ Poland\ VI\ –\ Marta\ Moszczyńska\ –\ „Sail”\ –\
Live-h9KgwUAlCjE.mkv

maybe one can reproduce? Code that I use to setup the functionality:

bindkey "^[/" _history-complete-older
zstyle ':completion:*:history-words' remove-all-dups true
zstyle ':completion:*' range 50000:2000

Best regards,
Sebastian Gniazdowski



Messages sorted by: Reverse Date, Date, Thread, Author