mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-22 08:04:19 +02:00
Update completions
This commit is contained in:
parent
43157e78c7
commit
911277cd21
2 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue