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