mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
Add Spotify authorization support in osx plugin
This commit is contained in:
parent
d848c94804
commit
bc9c6b5099
2 changed files with 12 additions and 6 deletions
|
|
@ -9,12 +9,8 @@ To start using it, add the `osx` plugin to your plugins array in `~/.zshrc`:
|
|||
```zsh
|
||||
plugins=(... osx)
|
||||
```
|
||||
|
||||
Original author: [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||
|
||||
|
||||
## Commands
|
||||
|
||||
| Command | Description |
|
||||
| :-------------- | :----------------------------------------------- |
|
||||
| `tab` | Open the current directory in a new tab |
|
||||
|
|
@ -31,3 +27,12 @@ Original author: [Sorin Ionescu](https://github.com/sorin-ionescu)
|
|||
| `hidefiles` | Hide the hidden files |
|
||||
| `itunes` | Control iTunes. User `itunes -h` for usage details |
|
||||
| `spotify` | Control Spotify and search by artist, album, track and etc.|
|
||||
|
||||
|
||||
Note: Spotify command requires OAUTH token for searching music. It can be generated
|
||||
from [Spotify Web API Console](https://developer.spotify.com/web-api/console/get-search-item/).
|
||||
Do not make your Spotify OAUTH token public.
|
||||
|
||||
```zsh
|
||||
export SPOTIFY_OAUTH_TOKEN="..."
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue