zshrc: Add workaround for missing gpg2 completions.

This commit is contained in:
Mika Suomalainen 2012-04-01 18:15:30 +03:00
parent 23e62cf01b
commit b815b63f5b
1 changed files with 2 additions and 0 deletions

2
zshrc
View File

@ -253,6 +253,8 @@ alias apt-get=aptitude
# Use GPG2 instead of GPG!
alias gpg=gpg2
# ZSH doesn't currently include automatic completion for GPG2, so use the GPG one, which works with GPG2 too. This is in aliases, because that above alias needs this and this will disappear when zsh gets GPG2 completion. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666755
compdef gpg2=gpg
# Allow custom aliases to be put in .aliases or .zsh_aliases .