grep v2.21 compatibility
grep v2.21 depracates GREP_OPTIONS env var
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# colored grep
|
||||
export GREP_OPTIONS='--color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
export GREP_COLOR='1;33'
|
||||
|
||||
# colored ls
|
||||
|
||||
Reference in New Issue
Block a user