aboutsummaryrefslogtreecommitdiff
path: root/home/dot_local/share/bin/executable_gpg-git.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'home/dot_local/share/bin/executable_gpg-git.tmpl')
-rw-r--r--home/dot_local/share/bin/executable_gpg-git.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/dot_local/share/bin/executable_gpg-git.tmpl b/home/dot_local/share/bin/executable_gpg-git.tmpl
index 8d9e600..d78200e 100644
--- a/home/dot_local/share/bin/executable_gpg-git.tmpl
+++ b/home/dot_local/share/bin/executable_gpg-git.tmpl
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
{{- with ( dig "git" "gpg_id" nil . ) }}
GPG_KEY_ID="{{ . }}"
GPG_KEY_PASSPHRASE="$(pass "gpg/$GPG_KEY_ID.asc" | head -n1)"