feat(default): set woman manpath with man if able
This commit is contained in:
parent
6e0b2eafa6
commit
d720b29cd3
1 changed files with 10 additions and 0 deletions
|
@ -51,6 +51,16 @@
|
|||
(setq-local epa-file-encrypt-to (default-value 'epa-file-encrypt-to)))))
|
||||
|
||||
|
||||
(after! woman
|
||||
;; The woman-manpath default value does not necessarily match man. If we have
|
||||
;; man available but aren't using it for performance reasons, we can extract
|
||||
;; it's manpath.
|
||||
(when (executable-find "man")
|
||||
(setq woman-manpath
|
||||
(split-string (cdr (doom-call-process "man" "--path"))
|
||||
path-separator t))))
|
||||
|
||||
|
||||
(use-package! drag-stuff
|
||||
:defer t
|
||||
:init
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue