Skip to content

Commit 298700a

Browse files
committed
feat(tldr): add 3rd party fallback completion loader
https://github.com/tldr-pages/tldr-python-client/blob/fa495f2fb9f4a5b35729efa4b83807bc646c8f04/README.md#autocomplete Note: There is an alternative implementation of tldr [1], which does not support "--print-completion bash" but provides a separate completion file [2]. This should not cause a problem because we any way redirect stderr by "2>/dev/null". [1] https://github.com/tealdeer-rs/tealdeer [2] \ https://github.com/tealdeer-rs/tealdeer/blob/769ef4da20dcaa7c00ba638ab11f063b83d99b01/docs/src/installing.md?plain=1#L64
1 parent 4218596 commit 298700a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

completions/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@
426426
/_timoni
427427
/_tkn
428428
/_tkn-pac
429+
/_tldr
429430
/_todoist
430431
/_tofu
431432
/tracepath6

completions/Makefile.am

+2-1
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,7 @@ CLEANFILES = \
10331033
_timoni \
10341034
_tkn \
10351035
_tkn-pac \
1036+
_tldr \
10361037
_todoist \
10371038
_tofu \
10381039
tracepath6 \
@@ -1358,7 +1359,7 @@ symlinks: $(DATA)
13581359
$(ss) koji \
13591360
arm-koji ppc-koji s390-koji sparc-koji
13601361
$(ss) _keyring \
1361-
_glances
1362+
_glances _tldr
13621363
$(ss) ldapsearch \
13631364
ldapadd ldapcompare ldapdelete ldapmodify ldapmodrdn \
13641365
ldappasswd ldapwhoami

0 commit comments

Comments
 (0)