From dc05afff4c07b812ae2219c3d4e30247f93845b0 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Sun, 11 Aug 2024 19:50:25 -0500 Subject: add git send email config --- install | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'install') diff --git a/install b/install index 51ad486..e55979e 100755 --- a/install +++ b/install @@ -29,10 +29,16 @@ else fi echo 'installing configuration files...' -find -L -- . -type f -name "*.org" | while read -r file; do +find -L -- . -type f -name "*\.org" | while read -r file; do echo " installing $file..." emacs --batch "$file" -f package-initialize --eval '(org-babel-tangle)' >> ~/.update-home.log 2>&1 done +find -L -- . -type f -name "*\.org\.gpg" | while read -r file; do + echo " installing $file..." + gpg -d "$file" > tmp.org + emacs --batch tmp.org -f package-initialize --eval '(org-babel-tangle)' >> ~/.update-home.log 2>&1 + rm tmp.org +done echo 'installing wallpaper...' cp .wallpaper ~/.wallpaper -- cgit v1.2.3