Don't use ~ to find site.d

This commit is contained in:
niten 2021-07-28 19:05:56 -05:00
parent 0031a9fa40
commit 6fdc2b5d0d

View File

@ -131,7 +131,7 @@
(setq exec-path (remove-duplicates (append (get-bash-path) exec-path) (setq exec-path (remove-duplicates (append (get-bash-path) exec-path)
:test #'equal)) :test #'equal))
(let ((site-dir (expand-file-name "~/.doom.d/site.d/"))) (let ((site-dir (expand-file-name ".doom.d/site.d/")))
(let ((configs (filter (lambda (name) (let ((configs (filter (lambda (name)
(not (or (string-match "~$" name) (not (or (string-match "~$" name)
(string-match "^[.]" name)))) (string-match "^[.]" name))))