Parcourir la source

Moved grep options to GREP_OPTIONS

Because using alias pollutes ps -f output.
Alois Mahdal il y a 12 ans
Parent
révision
654a5efe85
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2
    1
      dotfiles/bash/global-before.bashrc

+ 2
- 1
dotfiles/bash/global-before.bashrc Voir le fichier

@@ -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