add doc lines for easier doc generation

This commit is contained in:
Aaron Bieber 2020-07-19 07:37:29 -06:00
parent fe375305a0
commit 0d606cb5fc
6 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#: | git | add, fetch... |
set -A complete_git_1 -- \
add am archive \
bisect branch bundle \

View File

@ -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

View File

@ -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 , | \

View File

@ -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)

View File

@ -1,3 +1,4 @@
#: | ssh | ssh known hosts |
set -A SSH_KNOWN_HOSTS ~/.ssh/known_hosts
if [ -f /etc/ssh/ssh_known_hosts ]; then

View File

@ -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