From 84b92d9a7b3638f9afa6db822c18b350c26126b4 Mon Sep 17 00:00:00 2001 From: fpi Date: Sat, 19 Dec 2020 18:36:30 +0100 Subject: Add symlinks for gnus state files --- gnus.org | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnus.org b/gnus.org index 996a1c0..d3dc7c3 100644 --- a/gnus.org +++ b/gnus.org @@ -4,7 +4,14 @@ ln -siv $(pwd)/tangle/gnus.el ~/.gnus.el #+end_src -Load private settings +I use =nextcloud= to synchronize gnus state files across devices. Alternatively one may use [[info:gnus#The Gnus Cloud][info:gnus#Gnus Cloud]]. Here i symlink the relevant files/directories to my synchronization directory. +#+begin_src shell :results silent :tangle tangle/symlink.sh :shebang "#!/bin/bash" +ln -siv ~/sync/gnus/News ~/News +ln -siv ~/sync/gnus/.newsrc.eld ~/.newsrc.eld +ln -siv ~/sync/gnus/.gnus.registry.eieio ~/.gnus.registry.eieio +#+end_src + +Load private settings. #+begin_src emacs-lisp (setq secret-file (expand-file-name "emacs-private.el.gpg" user-emacs-directory)) -- cgit v1.2.3