]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zsh/rc/010grep.zsh
git jump grep alias
[dotfiles.git] / zsh / .zsh / rc / 010grep.zsh
index e2d979ea071a5e9b52ad06360b1a157314d235b2..0302c84be00e872d993d7ec4c75cac77b12bad3c 100644 (file)
@@ -1,15 +1,3 @@
-GREP_ARGS=(
-    --devices=skip
-    --colour=always
-    --with-filename
-    --line-number
-    --dereference-recursive
-    --binary-files=without-match
-    --exclude-dir=.git
-    --exclude-dir=.tags
-)
-g() {
-    grep $GREP_ARGS $@ | less
-}
 alias -g G="| grep --colour=always"
 alias gg="git grep "
+alias ggj="git jump grep "