Update completions

This commit is contained in:
Niklas Mohrin 2026-08-19 14:48:52 +02:00
commit 911277cd21
No known key found for this signature in database
GPG key ID: 0ACD89A5C1DEB3EB
2 changed files with 4 additions and 0 deletions

View file

@ -22,6 +22,8 @@ complete -c tldr -s q -l quiet -d 'Suppress informational message
complete -c tldr -l show-paths -d 'Show file and directory paths used by tealdeer' -f
complete -c tldr -l seed-config -d 'Create a basic config' -f
complete -c tldr -l color -d 'Controls when to use color' -xa 'always auto never'
complete -c tldr -l short-options -d 'Display the short variants of placeholders' -f
complete -c tldr -l long-options -d 'Display the long variants of placeholders' -f
function __tealdeer_entries
if set entries (tldr --list 2>/dev/null)

View file

@ -44,6 +44,8 @@ _tealdeer() {
auto
never
))"
"($I)--short-options[Display the short variants of placeholders]"
"($I)--long-options[Display the long variants of placeholders]"
'(- *)'{-h,--help}'[Display help]'
'(- *)'{-v,--version}'[Show version information]'
'1: :_applications'