Last active
December 16, 2015 11:49
-
-
Save quanganhdo/5430598 to your computer and use it in GitHub Desktop.
Open cmus in new iTerm tab
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
tell application "iTerm" | |
activate | |
tell the first terminal | |
launch session "Default Session" | |
tell the last session | |
write text "cmus" | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment