X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=blobdiff_plain;f=zsh%2F.zshrc;h=68b50e8a3f8f098f7b289c75042b47e173721e0f;hp=42dbbb4121d75b67a0d530b3837dcb97b4737d45;hb=6e5470af50835987306dd17d26662b8f2652310b;hpb=e7c927d390cefc1aeda054224207841c435f588b diff --git a/zsh/.zshrc b/zsh/.zshrc index 42dbbb4..68b50e8 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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 "OR" " 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} @@ -165,7 +166,7 @@ bindkey -s "OP" " inc\n" # F1 # Calculator {{{ autoload -U zcalc -alias zc="zcalc" +alias zc="zcalc -r4" # }}} # Named directories {{{