Browse Source

Moved grep options to GREP_OPTIONS

Because using alias pollutes ps -f output.
Alois Mahdal 12 years ago
parent
commit
654a5efe85
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      dotfiles/bash/global-before.bashrc

+ 2
- 1
dotfiles/bash/global-before.bashrc View File

@@ -14,7 +14,6 @@ export GLOBIGNORE=.:..
14 14
 
15 15
 # some more aliases
16 16
 alias ll='ls -lh'
17
-alias grep='grep --color --binary-files=without-match'
18 17
 alias open='gnome-open'
19 18
 alias diff='diff -u'
20 19
 
@@ -22,6 +21,8 @@ alias diff='diff -u'
22 21
 ### OTHERS ###
23 22
 ### '''''' ###
24 23
 
24
+export GREP_OPTIONS="--color --binary-files=without-match"
25
+
25 26
 # make green git bash trinket even cooler
26 27
 export GIT_PS1_SHOWDIRTYSTATE=true
27 28
 export GIT_PS1_SHOWUNTRACKEDFILES=true