diff options
Diffstat (limited to 'bash/bashrc.d/gnupg.bash')
-rw-r--r-- | bash/bashrc.d/gnupg.bash | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bash/bashrc.d/gnupg.bash b/bash/bashrc.d/gnupg.bash index cfbda514..1544f8a2 100644 --- a/bash/bashrc.d/gnupg.bash +++ b/bash/bashrc.d/gnupg.bash @@ -1,6 +1,7 @@ # Wrapper around gpg(1) to stop ``--batch'' breaking things gpg() { - case $* in + local optstring=$* + case $optstring in *--ed*|*--gen-k*|*--sign-k*) command gpg --no-batch "$@" ;; |