Skip to content

Commit 7fb3e7e

Browse files
committed
Try a zeal docsets directory as the helm-dash-docsets-path
1 parent fa6c0a6 commit 7fb3e7e

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
@@ -55,9 +55,12 @@
5555
(defcustom helm-dash-docsets-path
5656
(let ((original-dash-path (expand-file-name "~/Library/Application Support/Dash/DocSets")))
5757
(if (and (string-equal system-type 'darwin)
58-
(file-directory-p original-dash-path))
59-
original-dash-path
60-
(expand-file-name "~/.docsets")))
58+
(file-directory-p original-dash-path))
59+
original-dash-path
60+
(let ((zeal-docsets-path (expand-file-name "~/.local/share/Zeal/Zeal/docsets")))
61+
(if (file-directory-p zeal-docsets-path)
62+
zeal-docsets-path
63+
(expand-file-name "~/.docsets")))))
6164
"Default path for docsets.
6265
If you're setting this option manually, set it to an absolute
6366
path. You can use `expand-file-name' function for that."

0 commit comments

Comments
 (0)