1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-20 19:31:58 +00:00

fix(grep): remove duplicate options ()

This commit is contained in:
robertoaceves 2024-08-27 02:13:47 -04:00 committed by GitHub
parent f622e6a636
commit efe21261d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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="grep -E $GREP_OPTIONS" alias egrep="grep -E"
alias fgrep="grep -F $GREP_OPTIONS" alias fgrep="grep -F"
# 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