aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-12-11 17:24:22 +1300
committerTom Ryder <tom@sanctum.geek.nz>2013-12-11 17:24:22 +1300
commita50fb37ba062b63049fb2354ac9b4ce2afa89b9a (patch)
tree892bcb4f3be86586d1b2154521608257fa851fca /bash/bashrc.d
parentStop ``--batch'' breaking things for GnuPG (diff)
downloaddotfiles-a50fb37ba062b63049fb2354ac9b4ce2afa89b9a.tar.gz
dotfiles-a50fb37ba062b63049fb2354ac9b4ce2afa89b9a.zip
Add another pattern to nobatch
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/gnupg.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/gnupg.bash b/bash/bashrc.d/gnupg.bash
index 79e43776..8eac0439 100644
--- a/bash/bashrc.d/gnupg.bash
+++ b/bash/bashrc.d/gnupg.bash
@@ -6,7 +6,7 @@ fi
# Wrapper around gpg(1) to stop ``--batch'' breaking things
gpg() {
case $* in
- *--ed*|*--sign-k*)
+ *--ed*|*--gen-k*|*--sign-k*)
command gpg --no-batch "$@"
;;
*)