Skip to content

feat(tmux): new completion #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 18 additions & 11 deletions completions/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@
/dropdb
/dropuser
/_dyff
/_esc
/edquota
/_esc
/etherwake
/f77
/f95
Expand Down Expand Up @@ -149,6 +149,7 @@
/_gitsign
/gkrellm2
/_glab
/_glances
/_glen
/_glow
/gmake
Expand Down Expand Up @@ -222,9 +223,9 @@
/_kubectl
/_kubectl-argo-rollouts
/_kubectl-kuttl
/_kubescape
/_kubelogin
/_kubemqctl
/_kubescape
/_kubesec
/_kubeshark
/_kubespy
Expand Down Expand Up @@ -274,8 +275,8 @@
/_mise
/mkisofs
/_mmctl
/mogrify
/_mockery
/mogrify
/_moldy
/montage
/mozilla-firefox
Expand Down Expand Up @@ -346,15 +347,15 @@
/py.test-[23]
/pydoc3
/pylint-[23]
/pypy
/pypy3
/pyston
/pyston3
/pytest-[23]
/python2
/python2.*
/python3
/python3.*
/pypy
/pypy3
/pyston
/pyston3
/pyvenv-3.*
/qemu-kvm
/qemu-system-i386
Expand Down Expand Up @@ -385,16 +386,16 @@
/_sentry-cli
/setquota
/sftp
/shasum
/sha1sum
/sha224sum
/sha384sum
/sha512sum
/shasum
/sidedoor
/_sinker
/_skaffold
/_slsa-verifier
/slogin
/_slsa-verifier
/smbcacls
/smbcquotas
/smbget
Expand All @@ -420,14 +421,20 @@
/_tendermint
/_terraform
/_tfctl
/tightvncviewer
/_tilt
/_timoni
/_tkn
/_tkn-pac
/tightvncviewer
/_tldr
/_todoist
/_tofu
/tracepath6
/_trash
/_trash-empty
/_trash-list
/_trash-put
/_trash-restore
/_trivy
/typeset
/_upctl
Expand Down Expand Up @@ -467,8 +474,8 @@
/_xc
/xpovray
/xvnc4viewer
/_ytt
/ypcat
/_ytt
/_zarf
/_zitadel
/_zola
36 changes: 24 additions & 12 deletions completions/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ cross_platform = 2to3 \
bzip2 \
_cal \
cancel \
_cargo \
cardctl \
_cargo \
carton \
ccache \
ccze \
Expand Down Expand Up @@ -209,9 +209,9 @@ cross_platform = 2to3 \
java \
javaws \
_jj \
jq \
jpegoptim \
jps \
jq \
jshint \
json_xs \
jsonschema \
Expand All @@ -238,8 +238,8 @@ cross_platform = 2to3 \
list_lists \
list_members \
list_owners \
_look \
locale-gen \
_look \
lpq \
lpr \
lrzip \
Expand Down Expand Up @@ -404,6 +404,7 @@ cross_platform = 2to3 \
sh \
sha256sum \
shellcheck \
_shtab \
sitecopy \
slabtop \
_slackpkg \
Expand All @@ -425,8 +426,8 @@ cross_platform = 2to3 \
sshow \
_stern \
strace \
_stripe \
strings \
_stripe \
_su \
sudo \
svcadm \
Expand All @@ -445,6 +446,7 @@ cross_platform = 2to3 \
tcpnice \
timeout \
tipc \
tmux \
_tokio-console \
tox \
tracepath \
Expand Down Expand Up @@ -571,9 +573,9 @@ CLEANFILES = \
_ansible-playbook \
_ansible-pull \
_ansible-vault \
_apko \
apropos \
aptitude-curses \
_apko \
_aqua \
_arduino-cli \
_argo \
Expand Down Expand Up @@ -649,9 +651,9 @@ CLEANFILES = \
_datree \
dcop \
_deck \
_deno \
_depot \
_devspace \
_deno \
dfutool \
_diesel \
display \
Expand All @@ -665,8 +667,8 @@ CLEANFILES = \
dropdb \
dropuser \
_dyff \
_esc \
edquota \
_esc \
etherwake \
f77 \
f95 \
Expand Down Expand Up @@ -717,6 +719,7 @@ CLEANFILES = \
_gitsign \
gkrellm2 \
_glab \
_glances \
_glen \
_glow \
gmake \
Expand Down Expand Up @@ -790,9 +793,9 @@ CLEANFILES = \
_kubectl \
_kubectl-argo-rollouts \
_kubectl-kuttl \
_kubescape \
_kubelogin \
_kubemqctl \
_kubescape \
_kubesec \
_kubeshark \
_kubespy \
Expand Down Expand Up @@ -847,9 +850,9 @@ CLEANFILES = \
lz4c \
mailsnarf \
_mattermost \
_melange \
md5sum \
mdecrypt \
_melange \
mencoder \
_metalctl \
micropython \
Expand Down Expand Up @@ -991,11 +994,11 @@ CLEANFILES = \
_sentry-cli \
setquota \
sftp \
shasum \
sha1sum \
sha224sum \
sha384sum \
sha512sum \
shasum \
sidedoor \
_sinker \
_skaffold \
Expand Down Expand Up @@ -1026,14 +1029,20 @@ CLEANFILES = \
_tendermint \
_terraform \
_tfctl \
tightvncviewer \
_tilt \
_timoni \
_tkn \
_tkn-pac \
tightvncviewer \
_tldr \
_todoist \
_tofu \
tracepath6 \
_trash \
_trash-empty \
_trash-list \
_trash-put \
_trash-restore \
_trivy \
typeset \
_upctl \
Expand Down Expand Up @@ -1073,8 +1082,8 @@ CLEANFILES = \
_xc \
xpovray \
xvnc4viewer \
_ytt \
ypcat \
_ytt \
_zarf \
_zitadel \
_zola
Expand Down Expand Up @@ -1355,6 +1364,9 @@ symlinks: $(DATA)
javac javadoc
$(ss) koji \
arm-koji ppc-koji s390-koji sparc-koji
$(ss) _keyring \
_glances _tldr _trash _trash-empty _trash-list \
_trash-put _trash-restore
$(ss) ldapsearch \
ldapadd ldapcompare ldapdelete ldapmodify ldapmodrdn \
ldappasswd ldapwhoami
Expand Down
9 changes: 9 additions & 0 deletions completions/_shtab
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 3rd party completion loader for commands emitting -*- shell-script -*-
# their completion using "$cmd --print-own-completion bash".
# For example, https://github.com/iterative/shtab does.
#
# This serves as a fallback in case the completion is not installed otherwise.

eval -- "$("$1" --print-own-completion bash 2>/dev/null)"

# ex: filetype=sh
Loading
Loading