mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
chore(lib): update deprecated grep aliases (#11161)
This commit is contained in:
@@ -24,8 +24,8 @@ else
|
|||||||
if [[ -n "$GREP_OPTIONS" ]]; then
|
if [[ -n "$GREP_OPTIONS" ]]; then
|
||||||
# export grep, egrep and fgrep settings
|
# export grep, egrep and fgrep settings
|
||||||
alias grep="grep $GREP_OPTIONS"
|
alias grep="grep $GREP_OPTIONS"
|
||||||
alias egrep="egrep $GREP_OPTIONS"
|
alias egrep="grep -E $GREP_OPTIONS"
|
||||||
alias fgrep="fgrep $GREP_OPTIONS"
|
alias fgrep="grep -F $GREP_OPTIONS"
|
||||||
|
|
||||||
# write to cache file if cache directory is writable
|
# write to cache file if cache directory is writable
|
||||||
if [[ -w "$ZSH_CACHE_DIR" ]]; then
|
if [[ -w "$ZSH_CACHE_DIR" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user