]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zshrc
git-diff --cached used often
[dotfiles.git] / zsh / .zshrc
index ef56e6820fea2b010cb2bd77258d1f5fa1a296a3..048fee325f080804863f9409a343d93c463fe33e 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"