From 967657a774bdeaea380f3d0827ddb345e332d5a1 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 29 Jul 2020 13:44:14 +0000 Subject: [PATCH] Add completions for got. Bonus points because this commit is via got! --- completions/got.ksh | 28 ++++++++++++++++++++++++++++ completions/got.org | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100755 completions/got.ksh create mode 100644 completions/got.org diff --git a/completions/got.ksh b/completions/got.ksh new file mode 100755 index 0000000..b1a8c6a --- /dev/null +++ b/completions/got.ksh @@ -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 + diff --git a/completions/got.org b/completions/got.org new file mode 100644 index 0000000..b200384 --- /dev/null +++ b/completions/got.org @@ -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