summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xtag-zsh/config/zsh/zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 9c9f36a..22c5458 100755
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -258,6 +258,11 @@ alias lsr="${ls} -tld *(m-2)" # mtime < -2days
 alias sf="app/console"
 
 alias pping="prettyping.sh"
+if [[ -z $commands[gpg] && -s $commands[gpg2] ]]
+then
+	alias gpg=gpg2
+fi
+
 alias trans="transmission-remote transmission.home"
 alias bitcoin="bitcoind"
 alias su="smart_sudo "