Bladeren bron

Replace deprecated GREP_OPTIONS with alias

Alois Mahdal 10 jaren geleden
bovenliggende
commit
15c315f7e1
1 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  1. 1
    2
      dotfiles/bash/main.bashrc

+ 1
- 2
dotfiles/bash/main.bashrc Bestand weergeven

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