]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zshrc
GnuPG keyring switcher aliases
[dotfiles.git] / zsh / .zshrc
index cd22ea852bbef9403008b041bb3b4fd204d5477d..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
@@ -250,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