We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f035305 commit c03fd25Copy full SHA for c03fd25
init.org
@@ -5572,8 +5572,10 @@ my to-do list and my init file, side-by-side.
5572
;; and cosmetics, then open my notes files.
5573
(add-hook 'emacs-startup-hook
5574
(lambda ()
5575
- (load-file "~/my-life.el")
5576
- (find-file "~/my-life.org")))
+ (-let [my-life.el (getenv "MY_LIFE_ELISP")]
+ (unless org-default-notes-file
5577
+ (error "Add to .zshrc “ export MY_LIFE_ELISP=\"/full/path/to/my-life.el\" ”, then load my-life.el"))
5578
+ (load-file my-life.el))))
5579
#+END_SRC
5580
5581
There is the neat-looking [[https://github.com/emacs-dashboard/emacs-dashboard][emacs-dashboard]] package that provides an extensbile
0 commit comments