瀏覽代碼

Added grep coloring alias

Alois Mahdal 12 年之前
父節點
當前提交
4b2dc9c36d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      dotfiles/bash/global-before.bashrc

+ 1
- 1
dotfiles/bash/global-before.bashrc 查看文件

14
 
14
 
15
 # some more aliases
15
 # some more aliases
16
 alias ll='ls -lh'
16
 alias ll='ls -lh'
17
-alias grep='grep -I'    # do not match binary files
17
+alias grep='grep -color --binary-files=without-match'
18
 alias open='gnome-open'
18
 alias open='gnome-open'
19
 alias diff='diff -u'
19
 alias diff='diff -u'
20
 
20