]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zshrc
grep recursively following symlinks
[dotfiles.git] / zsh / .zshrc
index 42dbbb4121d75b67a0d530b3837dcb97b4737d45..29ad84c0f7823bd00f5f1d7cb65bda11cc42acb6 100644 (file)
@@ -116,7 +116,8 @@ alias Ga="git add"
 alias Gb="git branch"
 alias Gc="git checkout"
 alias Gd="git diff"
-alias Gs="git show"
+alias Gdc="git diff --cached"
+alias Gs="git show --show-signature"
 alias Gm="git diff --name-only --diff-filter=M"
 alias Gam="git commit --amend"
 
@@ -130,7 +131,7 @@ bindkey -s "\eOR" " git status --short\n" # F3
 
 # grep {{{
 GREP=/usr/local/bin/grep
-GREP_ARGS="--color=always --with-filename --line-number --recursive"
+GREP_ARGS="--color=always --with-filename --line-number --dereference-recursive"
 LESS_COLORED="less --RAW-CONTROL-CHARS"
 g() {
     $GREP ${=GREP_ARGS} $@ | ${=LESS_COLORED}