denisidoro / navi

An interactive cheatsheet tool for the command-line
Apache License 2.0
14.61k stars 489 forks source link

Unexpected output from zsh widget with input #877

Open jkroes opened 5 months ago

jkroes commented 5 months ago

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:

welcome[bot] commented 5 months ago

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! :)