Browse Source

Replace deprecated GREP_OPTIONS with alias

Alois Mahdal 10 years ago
parent
commit
15c315f7e1
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      dotfiles/bash/main.bashrc

+ 1
- 2
dotfiles/bash/main.bashrc View File

@@ -49,6 +49,7 @@ alias lla='ls -lha'
49 49
 alias open='gnome-open'
50 50
 alias diff='diff -u'
51 51
 alias pad4='sed -e "s/^/    /"'
52
+alias grep='grep --color --binary-files=without-match'
52 53
 alias grepr='grep -nr . --exclude-dir=".git" -e '
53 54
 alias sc='se --direction=encz.cz'
54 55
 alias lsblk='lsblk -o +UUID,LABEL'
@@ -62,8 +63,6 @@ mkdir -p "$RV_TMP"
62 63
 
63 64
 export FFOO_PRETTY=color
64 65
 
65
-export GREP_OPTIONS="--color --binary-files=without-match"
66
-
67 66
 # make green git bash trinket even cooler
68 67
 export GIT_PS1_SHOWDIRTYSTATE=true
69 68
 export GIT_PS1_SHOWUNTRACKEDFILES=true