]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zshrc
Use RPN with zcalc
[dotfiles.git] / zsh / .zshrc
index 048fee325f080804863f9409a343d93c463fe33e..68b50e8a3f8f098f7b289c75042b47e173721e0f 100644 (file)
@@ -131,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}
@@ -166,7 +166,7 @@ bindkey -s "\eOP" " inc\n" # F1
 
 # Calculator {{{
 autoload -U zcalc
-alias zc="zcalc"
+alias zc="zcalc -r4"
 # }}}
 
 # Named directories {{{