aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-02-23 08:10:32 -0300
committerEuAndreh <eu@euandre.org>2023-02-23 08:10:32 -0300
commit2ade38be7855b70eb90589e9188416679bb49d77 (patch)
tree100e4f531070002288c6e8d4f51b3010a50e21f0
parentetc/guix/home.scm: Remvoe ctags package (diff)
downloaddotfiles-2ade38be7855b70eb90589e9188416679bb49d77.tar.gz
dotfiles-2ade38be7855b70eb90589e9188416679bb49d77.tar.xz
etc/sh/rc: Add missing -E to git grep in g()
-rw-r--r--etc/sh/rc2
1 files changed, 1 insertions, 1 deletions
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 \