Created
December 9, 2018 07:24
-
-
Save blue0513/0c9da46f17e4931c1b1069df46981cd3 to your computer and use it in GitHub Desktop.
Open finder with Emacs !
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; open current directory | |
(defun finder-current-dir-open() | |
(interactive) | |
(shell-command "open .")) | |
;; open selected directory | |
(defun finder-open(dirname) | |
(interactive "DDirectoryName:") | |
(shell-command (concat "open " dirname))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment