added searching for custom.el in directory of user-init-file
This commit is contained in:
8
init.el
8
init.el
@@ -6,8 +6,12 @@
|
|||||||
(global-display-line-numbers-mode)
|
(global-display-line-numbers-mode)
|
||||||
(setq display-line-numbers 'relative)
|
(setq display-line-numbers 'relative)
|
||||||
|
|
||||||
(setq custom-file "~/.emacs.d/custom.el")
|
;; (message (mapconcat 'identity (list "b" "asdf") "/"))
|
||||||
(load custom-file)
|
|
||||||
|
(message (replace-regexp-in-string "/[^/]+$" "/custom.el" user-init-file))
|
||||||
|
|
||||||
|
;; (setq custom-file "~/.emacs.d/custom.el")
|
||||||
|
;; (load custom-file)
|
||||||
;; initially wanted to load theme through custom, i think below is cleaner though
|
;; initially wanted to load theme through custom, i think below is cleaner though
|
||||||
(use-package dracula-theme :ensure t :config (load-theme 'dracula t))
|
(use-package dracula-theme :ensure t :config (load-theme 'dracula t))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user