summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh/config/zsh/zshrc')
-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 9c9f36aa..22c5458c 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 "