Updating dotfiles.

This commit is contained in:
Derek Taylor
2020-09-29 16:28:27 -05:00
parent e8ae19d7ad
commit af5b75ee4d
204 changed files with 1870 additions and 2063 deletions

View File

@@ -34,11 +34,12 @@ dashboard reloading is inhibited.")
Possible values:
'last-project the `doom-project-root' of the last open buffer
'last the `default-directory' of the last open buffer
a FUNCTION a function run with the `default-directory' of the last
'last-project The `doom-project-root' of the last open buffer. Falls back
to `default-directory' if not in a project.
'last The `default-directory' of the last open buffer
a FUNCTION A function run with the `default-directory' of the last
open buffer, that returns a directory path
a STRING a fixed path
a STRING A fixed path
nil `default-directory' will never change")
(defvar +doom-dashboard-menu-sections
@@ -369,9 +370,8 @@ controlled by `+doom-dashboard-pwd-policy'."
((null lastcwd)
default-directory)
((eq policy 'last-project)
(let ((cwd default-directory))
(or (doom-project-root lastcwd)
cwd)))
(or (doom-project-root lastcwd)
lastcwd))
((eq policy 'last)
lastcwd)
((warn "`+doom-dashboard-pwd-policy' has an invalid value of '%s'"