From a1e0795e7861046841496de540784ae1a59abafd Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 27 Feb 2017 13:50:28 +1100 Subject: [PATCH] Add gpg2 wrapper program that applies --no-tty flag --- .stow-rename | 1 + config/git/config | 4 ++++ local/bin/gpg2-no-tty | 2 ++ 3 files changed, 7 insertions(+) create mode 100755 local/bin/gpg2-no-tty diff --git a/.stow-rename b/.stow-rename index 4376d30..51f56dd 100644 --- a/.stow-rename +++ b/.stow-rename @@ -1 +1,2 @@ config => .config +local => .local diff --git a/config/git/config b/config/git/config index be1b8fc..88ff1c3 100644 --- a/config/git/config +++ b/config/git/config @@ -20,5 +20,9 @@ [git-up.rebase] arguments = --preserve-merges + +[gpg] + program = gpg2-no-tty + [rerere] enabled = true diff --git a/local/bin/gpg2-no-tty b/local/bin/gpg2-no-tty new file mode 100755 index 0000000..34b2ce3 --- /dev/null +++ b/local/bin/gpg2-no-tty @@ -0,0 +1,2 @@ +#!/bin/sh +exec gpg2 --no-tty "$@"