diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -10,15 +10,18 @@ ### Essentials ```bash -git clone https://git.sr.ht/~a14m/.rc -sudo ln -sf ~/.rc/.gnupg/pinentry-wrapper /usr/local/bin/pinentry-wrapper +git clone https://git.sr.ht/~a14m/.rc ~/.rc + cd ~/.rc stow --no-folding --adopt . git restore . git remote set-url origin [email protected]:~a14m/.rc + +ln -sf ~/.rc/.gnupg/pinentry-wrapper ~/.local/bin/pinentry-wrapper +envsubst < ~/.gnupg/gpg-agent.conf.template > ~/.gnupg/gpg-agent.conf chmod 0700 ~/.gnupg -gpgconf --kill gpg-agent -gpg-connect-agent /bye +gpgconf --kill gpg-agent 2>/dev/null || true +gpg-connect-agent /bye 2>/dev/null || true ``` Extra configurations for different distro families: |
