all repos — nixfiles @ 0f6186dfd2369dd8df402736ea2e53f88961c24c

System and user configuration, managed by nix and home-manager

zsh: Alias gpg when gpg2 is installed

Alan Pearce
commit

0f6186dfd2369dd8df402736ea2e53f88961c24c

parent

72955df98c117aa5d86dbd44ce196d213e56810f

1 file changed, 5 insertions(+), 0 deletions(-)

jump to
M tag-zsh/config/zsh/zshrctag-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 "