rc/tools/git add --column to git grep

main
Bob Qi 2023-09-18 16:18:32 +08:00
parent 01fd6552af
commit 235552c5fa
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ define-command -params 1.. \
shift
enquoted="$(printf '"%s" ' "$@")"
printf %s "try %{
set-option current grepcmd 'git grep -n'
set-option current grepcmd 'git grep -n --column'
grep $enquoted
set-option current grepcmd '$kak_opt_grepcmd'
}"