summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNadhem <nadhum.f.h@gmail.com>2022-10-03 16:59:49 +0100
committerGitHub <noreply@github.com>2022-10-03 17:59:49 +0200
commit570158e464c9f57ab03c4162b4e6853b2c7c650d (patch)
treeb28860d0d6817b10b4270bec691644315a893f19 /lib
parentb93b67b84490d45eb2544b1741e64dc16103207d (diff)
downloadzsh-570158e464c9f57ab03c4162b4e6853b2c7c650d.tar.gz
zsh-570158e464c9f57ab03c4162b4e6853b2c7c650d.tar.bz2
zsh-570158e464c9f57ab03c4162b4e6853b2c7c650d.zip
chore(lib): update deprecated grep aliases (#11161)
Diffstat (limited to 'lib')
-rw-r--r--lib/grep.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/grep.zsh b/lib/grep.zsh
index a725e0f26..54e0f694e 100644
--- a/lib/grep.zsh
+++ b/lib/grep.zsh
@@ -24,8 +24,8 @@ else
if [[ -n "$GREP_OPTIONS" ]]; then
# export grep, egrep and fgrep settings
alias grep="grep $GREP_OPTIONS"
- alias egrep="egrep $GREP_OPTIONS"
- alias fgrep="fgrep $GREP_OPTIONS"
+ alias egrep="grep -E $GREP_OPTIONS"
+ alias fgrep="grep -F $GREP_OPTIONS"
# write to cache file if cache directory is writable
if [[ -w "$ZSH_CACHE_DIR" ]]; then