Created
March 23, 2017 08:10
-
-
Save enisozgen/61a3b620eb529d32ab95a52b46cd0ad1 to your computer and use it in GitHub Desktop.
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
; I don't know where I stole it but it works well | |
(defun open-terminal-pop-project-root () | |
(interactive) | |
(do-applescript | |
(format " | |
tell application \"iTerm 2\" | |
tell current window | |
tell current session | |
write text \"cd %s\" | |
end tell | |
end tell | |
end tell | |
activate application \"iTerm 2\" | |
" | |
(or projectile-project-root default-directory "~")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment