Last active
August 29, 2015 14:05
-
-
Save robintemme/fedbf393f277aec71dae to your computer and use it in GitHub Desktop.
Alias to twitter my current iTunes song (only working for OS X, only tested in zsh), uses gem t
This file contains hidden or 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
| alias twnowplaying="t update \"$(osascript -e 'tell application "iTunes" to if player state is playing then "♫ " & name of current track & " - " & artist of current track & " ♫"')\" && echo $(osascript -e 'tell application "iTunes" to if player state is playing then "♫ " & name of current track & " - " & artist of current track & " ♫"')" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment