From 2ade38be7855b70eb90589e9188416679bb49d77 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 23 Feb 2023 08:10:32 -0300 Subject: etc/sh/rc: Add missing -E to git grep in g() --- etc/sh/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/sh/rc b/etc/sh/rc index cb7379b..5d7596a 100644 --- a/etc/sh/rc +++ b/etc/sh/rc @@ -273,7 +273,7 @@ g() { LINE="$( # shellcheck disable=2086 - git grep --color=always -n -- "$(cat "$PAT")" ${2:-} | + git grep -E --color=always -n -- "$(cat "$PAT")" ${2:-} | fzf \ --exit-0 \ --select-1 \ -- cgit v1.2.3