From b815b63f5b2b91976fee9b635e101d8f35d63010 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sun, 1 Apr 2012 18:15:30 +0300 Subject: [PATCH] zshrc: Add workaround for missing gpg2 completions. --- zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zshrc b/zshrc index 46b0eacf..a0905293 100644 --- a/zshrc +++ b/zshrc @@ -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 .