denisidoro/navi

Unexpected output from zsh widget with input

jkroes opened this issue · 1 comments

jkroes commented

Describe the bug
Invoking _navi_widget after zsh input leads to seemingly arbitrary results.

To Reproduce

  1. Download the default cheatsheets.
  2. Launch a new terminal with a zsh shell.
  3. Type k3d.
  4. Invoke _navi_widget via ^g.
  5. The input changes to k3d check-tools.

Expected behavior
There are eleven entries for k3d in the default cheatsheets. The one selected seems arbitrary. I expected something similar to running navi k3d, but since the widgets aren't explained anywhere I've seen, I don't have a baseline for comparison.

Versions:

  • OS: MacOS
  • zsh 5.9

Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)