diff --git a/.config/doom/config.el b/.config/doom/config.el index fd65eac..4e474b1 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -982,8 +982,8 @@ This is 0.3 red + 0.59 green + 0.11 blue and always between 0 and 255." (add-to-list 'auto-mode-alist '("\\.jrnl\\'" . org-mode)) (add-to-list 'auto-mode-alist '("\\.el##" . emacs-lisp-mode)) -(add-to-list 'auto-mode-alist `(,(or (getenv "CONFIG_SHELLS") "~/.config/shell"). sh-mode)) -(add-to-list 'auto-mode-alist `(,(or (getenv "CONFIG_ZSH") "~/.config/zsh") . sh-mode)) +(add-to-list 'auto-mode-alist `(,(or (getenv "CONFIG_SHELLS") "\\.config/shell"). sh-mode)) +(add-to-list 'auto-mode-alist `(,(or (getenv "CONFIG_ZSH") "\\.config/zsh") . sh-mode)) (add-to-list 'auto-mode-alist `("\\.local/bin" . sh-mode)) ;(add-to-list 'auto-mode-alist '("\\.twee\\'" . twee-chapbook-mode)) diff --git a/.config/doom/user.el##user.janek b/.config/doom/user.el##user.janek index 803b2d2..6e15f29 100644 --- a/.config/doom/user.el##user.janek +++ b/.config/doom/user.el##user.janek @@ -22,7 +22,7 @@ ;(directory-files-recursively (expand-file-name "project/" org-directory) ".org\\'") ;(list (expand-file-name "inbox/")) (list (expand-file-name "agenda/")) - (list (expand-file-name "uni/")) + (directory-files-recursively (expand-file-name "uni/" org-directory) ".org\\'") )) ))