Skip to content

Commit

Permalink
Try a zeal docsets directory as the helm-dash-docsets-path
Browse files Browse the repository at this point in the history
  • Loading branch information
Bad-ptr committed Jun 30, 2016
1 parent fa6c0a6 commit 7fb3e7e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions helm-dash.el
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,12 @@
(defcustom helm-dash-docsets-path
(let ((original-dash-path (expand-file-name "~/Library/Application Support/Dash/DocSets")))
(if (and (string-equal system-type 'darwin)
(file-directory-p original-dash-path))
original-dash-path
(expand-file-name "~/.docsets")))
(file-directory-p original-dash-path))
original-dash-path
(let ((zeal-docsets-path (expand-file-name "~/.local/share/Zeal/Zeal/docsets")))
(if (file-directory-p zeal-docsets-path)
zeal-docsets-path
(expand-file-name "~/.docsets")))))
"Default path for docsets.
If you're setting this option manually, set it to an absolute
path. You can use `expand-file-name' function for that."
Expand Down

0 comments on commit 7fb3e7e

Please sign in to comment.