aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/gpg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/shrc.d/gpg.sh')
-rw-r--r--sh/shrc.d/gpg.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/sh/shrc.d/gpg.sh b/sh/shrc.d/gpg.sh
deleted file mode 100644
index 62d123ea..00000000
--- a/sh/shrc.d/gpg.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-# Wrapper around gpg(1) to stop ``--batch'' breaking things
-gpg() {
- # shellcheck disable=SC2048
- case $* in
- *--ed*|*--gen-k*|*--sign-k*)
- set -- --no-batch "$@"
- ;;
- esac
- command gpg "$@"
-}