aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash_include3
1 files changed, 2 insertions, 1 deletions
diff --git a/bash_include b/bash_include
index cc73863..1870b7d 100644
--- a/bash_include
+++ b/bash_include
@@ -107,7 +107,7 @@ export FCEDIT=vim
export VISUAL=vim
export PAGER=less
export GCC_COLORS=1
-export GREP_OPTIONS='--color=always'
+export GREP_OPTIONS='--color=auto'
# Aliases
@@ -122,6 +122,7 @@ alias cp='cp -pi'
alias mv='mv -i'
alias jobs='jobs -l'
alias less='less -RS'
+alias grep='grep --color=always'
# Non-aliased common tools (safe for use in script)
alias safe_ls='\ls'