config/doom: better directory recognition
This commit is contained in:
parent
99a13ed12a
commit
b0803435b4
|
@ -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 '("\\.jrnl\\'" . org-mode))
|
||||||
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.el##" . emacs-lisp-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_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_ZSH") "\\.config/zsh") . sh-mode))
|
||||||
(add-to-list 'auto-mode-alist `("\\.local/bin" . sh-mode))
|
(add-to-list 'auto-mode-alist `("\\.local/bin" . sh-mode))
|
||||||
|
|
||||||
;(add-to-list 'auto-mode-alist '("\\.twee\\'" . twee-chapbook-mode))
|
;(add-to-list 'auto-mode-alist '("\\.twee\\'" . twee-chapbook-mode))
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
;(directory-files-recursively (expand-file-name "project/" org-directory) ".org\\'")
|
;(directory-files-recursively (expand-file-name "project/" org-directory) ".org\\'")
|
||||||
;(list (expand-file-name "inbox/"))
|
;(list (expand-file-name "inbox/"))
|
||||||
(list (expand-file-name "agenda/"))
|
(list (expand-file-name "agenda/"))
|
||||||
(list (expand-file-name "uni/"))
|
(directory-files-recursively (expand-file-name "uni/" org-directory) ".org\\'")
|
||||||
))
|
))
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue