summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-12-19 18:36:30 +0100
committerfpi2020-12-21 10:53:43 +0100
commit84b92d9a7b3638f9afa6db822c18b350c26126b4 (patch)
tree7a4cce90a6abe2a97b7eb543c676218897a1dd8b
parentMake gnus articles use prose-mode (diff)
Add symlinks for gnus state files
-rw-r--r--gnus.org9
1 files changed, 8 insertions, 1 deletions
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))