From ad9cfdc586ee37b4c534d173697b4404d6f51324 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sun, 2 Aug 2026 16:24:33 +0200 Subject: fix path --- home/dot_local/share/bin/executable_gpg-git.tmpl | 6 ++++++ .../share/bin/home/dot_local/share/bin/executable_gpg-git.tmpl | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 home/dot_local/share/bin/executable_gpg-git.tmpl delete mode 100644 home/dot_local/share/bin/home/dot_local/share/bin/executable_gpg-git.tmpl diff --git a/home/dot_local/share/bin/executable_gpg-git.tmpl b/home/dot_local/share/bin/executable_gpg-git.tmpl new file mode 100644 index 0000000..8d9e600 --- /dev/null +++ b/home/dot_local/share/bin/executable_gpg-git.tmpl @@ -0,0 +1,6 @@ +#!/bin/sh +{{- with ( dig "git" "gpg_id" nil . ) }} +GPG_KEY_ID="{{ . }}" +GPG_KEY_PASSPHRASE="$(pass "gpg/$GPG_KEY_ID.asc" | head -n1)" +gpg --batch --no-tty --pinentry-mode loopback --passphrase "$GPG_KEY_PASSPHRASE" "$@" +{{- end }} diff --git a/home/dot_local/share/bin/home/dot_local/share/bin/executable_gpg-git.tmpl b/home/dot_local/share/bin/home/dot_local/share/bin/executable_gpg-git.tmpl deleted file mode 100644 index 8d9e600..0000000 --- a/home/dot_local/share/bin/home/dot_local/share/bin/executable_gpg-git.tmpl +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -{{- with ( dig "git" "gpg_id" nil . ) }} -GPG_KEY_ID="{{ . }}" -GPG_KEY_PASSPHRASE="$(pass "gpg/$GPG_KEY_ID.asc" | head -n1)" -gpg --batch --no-tty --pinentry-mode loopback --passphrase "$GPG_KEY_PASSPHRASE" "$@" -{{- end }} -- cgit v1.2.3