From cfd7d8e361826d777caf475ecd169a7f09a23518 Mon Sep 17 00:00:00 2001 From: Willow Barraco Date: Tue, 12 Sep 2023 11:32:04 +0200 Subject: [PATCH] rc/tools/git: add basic completion for git-grep --- rc/tools/git.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/tools/git.kak b/rc/tools/git.kak index 440b6571..62cc6edb 100644 --- a/rc/tools/git.kak +++ b/rc/tools/git.kak @@ -74,7 +74,7 @@ define-command -params 1.. \ case "$1" in commit) printf -- "--amend\n--no-edit\n--all\n--reset-author\n--fixup\n--squash\n"; git ls-files -m ;; add) git ls-files -dmo --exclude-standard ;; - rm) git ls-files -c ;; + rm|grep) git ls-files -c ;; esac fi } \