]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zshrc
grep recursively following symlinks
[dotfiles.git] / zsh / .zshrc
index ef56e6820fea2b010cb2bd77258d1f5fa1a296a3..29ad84c0f7823bd00f5f1d7cb65bda11cc42acb6 100644 (file)
@@ -97,13 +97,14 @@ alias sshnm="ssh -S none"
 # Faster movement {{{
 cddotdot() {
     cd ..
+    pwd
     zle reset-prompt
 }
 zle -N cddotdot
 bindkey "\eOQ" cddotdot # F2
 
 pushdquiet() {
-    popd >/dev/null
+    popd
     zle reset-prompt
 }
 zle -N pushdquiet
@@ -115,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"
 
@@ -129,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}