]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zshrc
GnuPG keyring switcher aliases
[dotfiles.git] / zsh / .zshrc
index 4defab2f1bb3e9816c4b477ce46f028344c0517e..2927a91f83733d1cfd2930b660bcd02a5e62d3da 100644 (file)
@@ -85,6 +85,7 @@ alias -g DN=">/dev/null"
 alias -g 2DN="2>/dev/null"
 alias -g DNA=">&/dev/null"
 alias mc="mc --nomouse"
+alias gpgkr="gpg --no-default-keyring --keyring "
 
 f() {
     bfs . -name "*$1*" -print
@@ -137,6 +138,7 @@ bindkey -s "\eOR" " git status --short\n" # F3
 
 # grep {{{
 GREP_ARGS=(
+    --devices=skip
     --colour=always
     --with-filename
     --line-number
@@ -249,6 +251,13 @@ while read w ; do
 done < ~/.zhashd
 # }}}
 
+# Midnight commander extensions configuration {{{
+[ -s $XDG_CONFIG_HOME/mc/mc.ext ] || {
+    mkdir $XDG_CONFIG_HOME/mc/
+    cp ~dot/mc/mc.ext $XDG_CONFIG_HOME/mc/
+}
+# }}}
+
 # Virtualenv {{{
 venv() {
     . /usr/local/bin/virtualenvwrapper.sh