Closed cho-m closed 3 years ago
Changes information:
commands=(...)
_describe
tldr --list
2>/dev/null
sed
:
\:
${name//pattern/repl}
-L, --language
pages.{lang}
'*:file:_files'
The following are output from ZSH 5.8 with locally built master branch.
Some errors shown with original completions:
[.md:
Empty cache stderr:
Output of ZSH with new completions
No issue with [.md:
Empty cache, no completions shown (ignore dimmed font due to zsh-autosuggestions plugin):
Empty cache, flag completions after -:
-
Thanks @cho-m for the fix and @niklasmohrin for the review/test!
Changes information:
commands=(...)
and_describe
to deal with '[.md' & empty cache scenario. Fixes #166tldr --list
stderr (2>/dev/null
) which breaks completion with empty cachesed
since #112 changed commas to newlinessed
-equivalent replacement (:
->\:
) using native ZSH${name//pattern/repl}
since colon is special character in ZSH completions-L, --language
flag from #125. In future, can consider adding extra completions maybe based on cachespages.{lang}
folders.'*:file:_files'
)The following are output from ZSH 5.8 with locally built master branch.
Some errors shown with original completions:
[.md:
Empty cache stderr:
Output of ZSH with new completions
No issue with [.md:
Empty cache, no completions shown (ignore dimmed font due to zsh-autosuggestions plugin):
Empty cache, flag completions after
-
: