Skip to content

Instantly share code, notes, and snippets.

@nick96
Last active May 27, 2017 05:27
Show Gist options
  • Save nick96/f26cd02d810f67fae25452e571cc339c to your computer and use it in GitHub Desktop.
Save nick96/f26cd02d810f67fae25452e571cc339c to your computer and use it in GitHub Desktop.
Open an application from Emacs (OSX)
(defun nick/osx-open-app ()
"Open an application in OS X."
(interactive)
(shell-command (format "open -a %S" (read-string "Application: "))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment