diff --git a/plugins/spotify/README.md b/plugins/spotify/README.md index 99e68211f..cd7b8467e 100755 --- a/plugins/spotify/README.md +++ b/plugins/spotify/README.md @@ -1,4 +1,4 @@ -# Control Spotify at OS X Terminal +# Spotify at OS X Terminal An AppleScript for controlling Spotify through a terminal: @@ -19,17 +19,6 @@ allow. * OS X Mountain Lion (10.8) * OS X Lion (10.7) -## Installation - -The simplest way to install the script is to `clone` the repository, -`cd` into repository's directory, and run this command below -to make a symbolic link into `/usr/local/bin/`: - -```bash -ln -s $(pwd)/spotify /usr/local/bin/spotify -``` - - ## Usage * To start Spotify playback, type `spotify start` or `spotify play`. @@ -53,13 +42,3 @@ seconds to jump backwards. * To toggle shuffle, type `spotify shuffle`. * To toggle repeat, type `spotify repeat`. * To show a list of these commands, just type `spotify`. - -### Over SSH - -To enable the SSH server on OS X, go to Sharing in the System Preferences -and enable Remote Login. The Sharing screen will also then tell you the -command to use to connect to your Mac in the local network. - -## License - -You may use, adapt, modify, and etc. Any way you want. diff --git a/plugins/spotify/spotify b/plugins/spotify/spotify.plugin.zsh similarity index 93% rename from plugins/spotify/spotify rename to plugins/spotify/spotify.plugin.zsh index 96e36d956..eb79dc2dd 100755 --- a/plugins/spotify/spotify +++ b/plugins/spotify/spotify.plugin.zsh @@ -1,3 +1,11 @@ +# ------------------------------------------------------------------------------ +# FILE: spotify.plugin.zsh +# DESCRIPTION: oh-my-zsh Spotify plugin file. Spotify controls at OS X Terminal. +# AUTHOR: Rafael CorrĂȘa Gomes (rafaelcgstz at gmail dot com) +# FORK: https://github.com/dronir/SpotifyControl +# VERSION: 1.0.0 +# ------------------------------------------------------------------------------ + #!/usr/bin/env osascript on run argv if count of argv is equal to 0 then @@ -148,4 +156,3 @@ on run argv end tell end using terms from end run -