570158e464c9f57ab03c4162b4e6853b2c7c650d
- Author
- Nadhem <nadhum.f.h@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
chore(lib): update deprecated grep aliases (#11161)
Diff
1diff --git a/lib/grep.zsh b/lib/grep.zsh
2index a725e0f2620e750dd4bb03a6a4cf179df56164d8..54e0f694e7d7a86ead2020907d88ddaf32861522 100644
3--- a/lib/grep.zsh
4+++ b/lib/grep.zsh
5@@ -24,8 +24,8 @@ else
6 if [[ -n "$GREP_OPTIONS" ]]; then
7 # export grep, egrep and fgrep settings
8 alias grep="grep $GREP_OPTIONS"
9- alias egrep="egrep $GREP_OPTIONS"
10- alias fgrep="fgrep $GREP_OPTIONS"
11+ alias egrep="grep -E $GREP_OPTIONS"
12+ alias fgrep="grep -F $GREP_OPTIONS"
13
14 # write to cache file if cache directory is writable
15 if [[ -w "$ZSH_CACHE_DIR" ]]; then