]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zshrc
Exclude binaries and .git/.tags from grep
[dotfiles.git] / zsh / .zshrc
index 7b61fe6c5fd7106b4965490d3777bbb0c5bb692c..778759a9695789328f15cd2cebb14178e412dae2 100644 (file)
@@ -137,6 +137,9 @@ GREP_ARGS=(
     --with-filename
     --line-number
     --dereference-recursive
+    --binary-files=without-match
+    --exclude-dir=.git
+    --exclude-dir=.tags
 )
 LESS_COLOURED=(less --RAW-CONTROL-CHARS)
 g() {