diff --git a/modules/config/default/config.el b/modules/config/default/config.el index 239ba8805..e1c90c043 100644 --- a/modules/config/default/config.el +++ b/modules/config/default/config.el @@ -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