aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-12-29 13:02:15 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-12-29 13:02:15 +1300
commita4b17a9af86ab88cfe48e616284b56c1bdf019bd (patch)
tree4d732fcde65a9596cfb10b8ca888f7a96031ef68 /sh
parent3e9cf5d0f3b9853d63d4d3344bdfd1e61fca1bce (diff)
downloaddotfiles-a4b17a9af86ab88cfe48e616284b56c1bdf019bd.tar.gz
Remove --batch option and wrapper for gpg(1)
This was originally added to cut the decryption boilerplate, which no longer seems to be an issue; I think that --quiet may be correctly blocking it now. Even without this, it caused more problems than it solved when gpg(1) genuinely did need user interaction from me, for example for --update-trustdb.
Diffstat (limited to '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 "$@"
-}