zsh: Alias gpg when gpg2 is installed
Alan Pearce alan@alanpearce.co.uk
Sun, 14 Jun 2015 13:04:37 +0200
1 files changed, 5 insertions(+), 0 deletions(-)
jump to
M tag-zsh/config/zsh/zshrc → 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 "