Skip to content

Commit ba9df8c

Browse files
committed
Try a zeal docsets directory as the helm-dash-docsets-path
1 parent 443a1cb commit ba9df8c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

helm-dash.el

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,12 @@
5454
(defcustom helm-dash-docsets-path
5555
(let ((original-dash-path (expand-file-name "~/Library/Application Support/Dash/DocSets")))
5656
(if (and (string-equal system-type 'darwin)
57-
(file-directory-p original-dash-path))
58-
original-dash-path
59-
(expand-file-name "~/.docsets")))
57+
(file-directory-p original-dash-path))
58+
original-dash-path
59+
(let ((zeal-docsets-path (expand-file-name "~/.local/share/Zeal/Zeal/docsets")))
60+
(if (file-directory-p zeal-docsets-path)
61+
zeal-docsets-path
62+
(expand-file-name "~/.docsets")))))
6063
"Default path for docsets.
6164
If you're setting this option manually, set it to an absolute
6265
path. You can use `expand-file-name' function for that."

0 commit comments

Comments
 (0)