From 1e2ee959ea38ef82ac06c9423d85ebf29cab7251 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 17 Jan 2026 17:39:22 +0100 Subject: Create simple install script for simpler setup --- install.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 install.sh (limited to 'install.sh') diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..f19e94a --- /dev/null +++ b/install.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -xeou pipefail + +rm -f ~/.bash_profile ~/.bashrc +cd ~/.rc +stow --no-folding --adopt . +git restore . +git remote set-url origin git@git.sr.ht:~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 2>/dev/null || true +gpg-connect-agent /bye 2>/dev/null || true -- cgit v1.2.3