add ogvt completions

This commit is contained in:
Aaron Bieber 2021-03-15 16:54:18 +00:00
parent 062034e147
commit 06756ed90c
5 changed files with 45 additions and 11 deletions

View File

@ -29,3 +29,21 @@ body {
float: left;
width: 100%;
}
table {
border-collapse: collapse;
border: 1px solid black;
}
th, td {
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #f9fafc;
}
pre {
border-radius: 15px;
}

View File

@ -15,7 +15,7 @@ Have your cake and eat it too!
** Completions
| Name | Completes |
|--------+------------------------------------|
|--------+----------------------------------------|
| [[file:completions/git.org][git]] | add, fetch... |
| [[file:completions/got.org][got]] | add, blame... |
| [[file:completions/gopass.org][gopass]] | audit, config... |
@ -24,6 +24,7 @@ Have your cake and eat it too!
| [[file:completions/rc.org][rc]] | OpenBSD rc scripts and rc commands |
| [[file:completions/ssh.org][ssh]] | ssh known hosts |
| [[file:completions/vmd.org][vmd]] | vmctl commands and VM names |
| [[file:completions/ogvt.org][ogvt]] | reminders for ogvt (-pub, -sig, -file) |
** Extensions

4
completions/ogvt.ksh Executable file
View File

@ -0,0 +1,4 @@
set -A complete_ogvt -- \
-file \
-pub \
-sig

11
completions/ogvt.org Normal file
View File

@ -0,0 +1,11 @@
#+TITLE: Completion: ogvt
Completions for [[https://pkg.go.dev/suah.dev/ogvt][ogvt]].
** All levels
#+begin_src ksh
-file \
-pub \
-sig
#+end_src

View File

@ -2,7 +2,7 @@
** About
This extension is a port of the [[https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh][packaged git-prompt]] script to OpenBSD's ksh.
This extension is a port of git's [[https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh][contrib git-prompt]] script to OpenBSD's ksh.
It allows one to include git information in your PS1 or other scripts.