gpg: Move gpg.loopback back to .config and symlink
It was moved back in 020b39887e ("gpg,git: Move gpg.loopback into
PATH"), because git had problems with the "dynamic" path of HOME. I like
to have everything at one place though (And I searched for this script
in the wrong place, just now).
This commit is contained in:
12
.config/gnupg/gpg.loopback
Executable file
12
.config/gnupg/gpg.loopback
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Taken from:
|
||||||
|
# https://github.com/tpope/vim-fugitive/issues/1836#issuecomment-918677504
|
||||||
|
#
|
||||||
|
# > Put this in /usr/local/bin/gpg or anywhere else that outranks /usr/bin in
|
||||||
|
# > PATH. Alternatively, give this script a different name, and configure
|
||||||
|
# > gpg.program in Git to point at it.
|
||||||
|
|
||||||
|
[ -z "$FUGITIVE" ] || set -- --pinentry-mode loopback "$@"
|
||||||
|
|
||||||
|
exec /usr/bin/gpg "$@"
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Taken from:
|
|
||||||
# https://github.com/tpope/vim-fugitive/issues/1836#issuecomment-918677504
|
|
||||||
#
|
|
||||||
# > Put this in /usr/local/bin/gpg or anywhere else that outranks /usr/bin in
|
|
||||||
# > PATH. Alternatively, give this script a different name, and configure
|
|
||||||
# > gpg.program in Git to point at it.
|
|
||||||
|
|
||||||
[ -z "$FUGITIVE" ] || set -- --pinentry-mode loopback "$@"
|
|
||||||
|
|
||||||
exec /usr/bin/gpg "$@"
|
|
||||||
1
.local/bin/gpg.loopback
Symbolic link
1
.local/bin/gpg.loopback
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../.config/gnupg/gpg.loopback
|
||||||
Reference in New Issue
Block a user