Add completions for got. Bonus points because this commit is via got!

This commit is contained in:
Aaron Bieber 2020-07-29 13:44:14 +00:00
parent cfdbd111d6
commit 967657a774
2 changed files with 61 additions and 0 deletions

28
completions/got.ksh Executable file
View File

@ -0,0 +1,28 @@
set -A complete_got_1 -- \
add \
bl blame \
bo backout \
br branch \
cat \
ci commit \
cl clone \
co checkout \
cy cherrypick \
di diff \
fe fetch \
he histedit \
ig integrate \
im import \
in init \
log \
rb rebase \
ref \
rm remove \
rv revert \
sg stage \
st status \
tag \
tr tree \
ug unstage \
up update

33
completions/got.org Normal file
View File

@ -0,0 +1,33 @@
* got completions
The ~got~ completion currently supports the following arguments:
** Level 1
#+begin_src ksh
add \
bl blame \
bo backout \
br branch \
cat \
ci commit \
cl clone \
co checkout \
cy cherrypick \
di diff \
fe fetch \
he histedit \
ig integrate \
im import \
in init \
log \
rb rebase \
ref \
rm remove \
rv revert \
sg stage \
st status \
tag \
tr tree \
ug unstage \
up update
#+end_src