Skip to content

Instantly share code, notes, and snippets.

Created May 27, 2016 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/47e47ad536674e724e843444f7779e1e to your computer and use it in GitHub Desktop.
Save anonymous/47e47ad536674e724e843444f7779e1e to your computer and use it in GitHub Desktop.
(use-package helm-dash
:ensure t
:defer t
:config
(defun my/open-with-shell-command (url)
(shell-command (format "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome \"%s\"" url))
(shell-command "open -a Google\\ Chrome"))
(setq helm-dash-browser-func 'my/open-with-shell-command))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment