]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zshrc
Do not try to read from FIFOs and sockets while grep-ing
[dotfiles.git] / zsh / .zshrc
index 7e8cc22ec3218606c277d494fff631cce7ac0aec..cd22ea852bbef9403008b041bb3b4fd204d5477d 100644 (file)
@@ -75,12 +75,15 @@ precmd() {
 
 # Aliases {{{
 alias l="ls -AF "
-alias ll="ls -D %Y-%m-%d -AFl "
+alias ll="ls -D \"%Y-%m-%d %H:%M\" -AFl "
 alias vi="vim"
 alias m="less "
 alias -g M="| less"
 alias -g W="| wc -l | sed 's/ //g'"
 alias -g T="| tai64nlocal"
+alias -g DN=">/dev/null"
+alias -g 2DN="2>/dev/null"
+alias -g DNA=">&/dev/null"
 alias mc="mc --nomouse"
 
 f() {
@@ -134,6 +137,7 @@ bindkey -s "\eOR" " git status --short\n" # F3
 
 # grep {{{
 GREP_ARGS=(
+    --devices=skip
     --colour=always
     --with-filename
     --line-number