From f92df3ec967fe30c1a4a5cb2bb80d7a317f72264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Arrufat?= Date: Fri, 6 Jan 2023 00:17:38 +0900 Subject: [PATCH] Add reset to git command docstring --- rc/tools/git.kak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rc/tools/git.kak b/rc/tools/git.kak index d8e7ef87..04ae23a1 100644 --- a/rc/tools/git.kak +++ b/rc/tools/git.kak @@ -50,6 +50,7 @@ define-command -params 1.. \ Available commands: add rm + reset blame commit checkout @@ -67,7 +68,7 @@ define-command -params 1.. \ update-diff } -shell-script-candidates %{ if [ $kak_token_to_complete -eq 0 ]; then - printf "add\nrm\nblame\ncommit\ncheckout\ndiff\nhide-blame\nhide-diff\nlog\nnext-hunk\nprev-hunk\nshow\nshow-branch\nshow-diff\ninit\nstatus\nupdate-diff\n" + printf "add\nrm\nreset\nblame\ncommit\ncheckout\ndiff\nhide-blame\nhide-diff\nlog\nnext-hunk\nprev-hunk\nshow\nshow-branch\nshow-diff\ninit\nstatus\nupdate-diff\n" else case "$1" in commit) printf -- "--amend\n--no-edit\n--all\n--reset-author\n--fixup\n--squash\n"; git ls-files -m ;;