mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Cleaned up /lib/, removed trailing white space everywhere.
This commit is contained in:
parent
db6c172e9f
commit
1e9b718af1
50 changed files with 332 additions and 298 deletions
10
lib/grep.zsh
10
lib/grep.zsh
|
|
@ -1,6 +1,10 @@
|
|||
if [[ "$DISABLE_COLOR" != "true" ]]; then
|
||||
export GREP_OPTIONS='--color=auto'
|
||||
export GREP_COLOR='37;45'
|
||||
if [[ "$DISABLE_COLOR" != 'true' ]]; then
|
||||
if [[ -z "$GREP_OPTIONS" ]]; then
|
||||
export GREP_OPTIONS='--color=auto'
|
||||
fi
|
||||
if [[ -z "$GREP_COLOR" ]]; then
|
||||
export GREP_COLOR='37;45'
|
||||
fi
|
||||
else
|
||||
export GREP_OPTIONS='--color=none'
|
||||
export GREP_COLOR=''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue