marlonrichert / zsh-autocomplete

🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
MIT License
5.26k stars 145 forks source link

Negative numbers in history search menu #626

Closed SushiTee closed 1 year ago

SushiTee commented 1 year ago

Environment

typeset VENDOR=pc
typeset OSTYPE=linux-gnu
typeset ZSH_PATCHLEVEL=zsh-5.9-0-g73d3173
typeset -a _autocomplete__funcfiletrace=(
  /home/sushi/.oh-my-zsh/custom/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh:4
  /home/sushi/.oh-my-zsh/oh-my-zsh.sh:170
  /home/sushi/.oh-my-zsh/oh-my-zsh.sh:199
  /home/sushi/.zshrc:88
  zsh:0
)
6d059a3 (grafted, HEAD -> main, tag: 23.07.13, origin/main, origin/HEAD) Fix bugs in insertion logic

Steps to reproduce

When I comment out the Fuzzy sort part here: https://github.com/marlonrichert/zsh-autocomplete/blob/6d059a3634c4880e8c9bb30ae565465601fb5bd2/Completions/_autocomplete__history_lines#L109 this does not happen.

marlonrichert commented 1 year ago

Yeah, I've noticed this, too. I will investigate.