@ -17,12 +17,13 @@ are daily and pi, the function returns '(".zshrc" ".zshrc.pi")
("pi" . "/ssh:ssh.jacopods.xyz:.zshrc")
("android" . ".zshrc.android")))
(defun org-tags-to-filenames ()
(when (boundp 'tag-to-filenames-alist)
(let ((tags (car (last (org-heading-components)))))
(when (stringp tags)
(remove nil (mapcar
(lambda (tag)
(cdr (assoc tag tag-to-filenames-alist)))
(org-split-string tags ":"))))))
(org-split-string tags ":")))))))
#+end_src
* zshrc :@zsh: