diff --git a/completions/git.ksh b/completions/git.ksh index ec40c58..f5a4371 100755 --- a/completions/git.ksh +++ b/completions/git.ksh @@ -1,3 +1,4 @@ +#: | git | add, fetch... | set -A complete_git_1 -- \ add am archive \ bisect branch bundle \ diff --git a/completions/gopass.ksh b/completions/gopass.ksh index e4013a1..f58a814 100755 --- a/completions/gopass.ksh +++ b/completions/gopass.ksh @@ -1,3 +1,3 @@ - +#: | gopass | audit, config... | PASS_LIST=$(gopass ls -f) set -A complete_gopass -- $PASS_LIST agent audit binary bin clone completion config copy cp create new delete remove rm edit set find search fsck generate git-credential jsonapi otp totp hotp git grep history hist init insert list ls move mv mounts recipients setup show sync templates unclip update version xc help h diff --git a/completions/man.ksh b/completions/man.ksh index 544fd84..62c2d54 100755 --- a/completions/man.ksh +++ b/completions/man.ksh @@ -1,3 +1,4 @@ +#: | man | man pages | MAN_CACHE=$LOAD_PATH/cache/man if [ ! -f $MAN_CACHE ]; then MANPATH=/usr/share/man man -k Nm~. | cut -d\( -f1 | tr -d , | \ diff --git a/completions/rc.ksh b/completions/rc.ksh index 3b46937..d0f16da 100755 --- a/completions/rc.ksh +++ b/completions/rc.ksh @@ -1,2 +1,3 @@ +#: | rc | OpenBSD rc scripts and rc commands | set -A complete_rcctl_1 -- disable enable get ls order set restart start stop set -A complete_rcctl_2 -- $(rcctl ls all) diff --git a/completions/ssh.ksh b/completions/ssh.ksh index b186636..4e7b104 100755 --- a/completions/ssh.ksh +++ b/completions/ssh.ksh @@ -1,3 +1,4 @@ +#: | ssh | ssh known hosts | set -A SSH_KNOWN_HOSTS ~/.ssh/known_hosts if [ -f /etc/ssh/ssh_known_hosts ]; then diff --git a/completions/vmd.ksh b/completions/vmd.ksh index dde998f..7ecb950 100755 --- a/completions/vmd.ksh +++ b/completions/vmd.ksh @@ -1,3 +1,4 @@ +#: | vmd | vmctl commands and VM names | pgrep -fq '/usr/sbin/vmd' if [ $? = 0 ]; then set -A complete_vmctl -- console load reload start stop reset status send receive