tealdeer-rs / tealdeer

A very fast implementation of tldr in Rust.
https://tealdeer-rs.github.io/tealdeer/
Apache License 2.0
4.17k stars 123 forks source link

zsh-completion: fix issue with [.md, add basic -L completion, remove extra _files args #168

Closed cho-m closed 3 years ago

cho-m commented 3 years ago

Changes information:

The following are output from ZSH 5.8 with locally built master branch.


Some errors shown with original completions:

  1. [.md:

    error-1
  2. Empty cache stderr:

    error-2

Output of ZSH with new completions

  1. No issue with [.md:

    output1
  2. Empty cache, no completions shown (ignore dimmed font due to zsh-autosuggestions plugin):

    output2
  3. Empty cache, flag completions after -:

    output3
dbrgn commented 3 years ago

Thanks @cho-m for the fix and @niklasmohrin for the review/test!