mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-30 09:40:09 +00:00
c3b072eace
* Remove older shpotify code from the macOS plugin * Add Shpotify 2.0.1 from the upstream repository at https://github.com/hnarayanan/shpotify/releases/tag/2.0.1 * Wrap the Shpotify script in a function and import into the macOS plugin * Fix import path of the shpotify script * Add shpotify permission notice in the macos plugin rREADME * Merge with the upstream shpotify project - Fix playlist playback - Add a 'stop' command
60 lines
2.6 KiB
Markdown
60 lines
2.6 KiB
Markdown
# OSX plugin
|
||
|
||
## Description
|
||
|
||
This plugin provides a few utilities to make it more enjoyable on OSX.
|
||
|
||
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)
|
||
|
||
## Acknowledgements
|
||
|
||
This application makes use of the following third party scripts:
|
||
|
||
[shpotify](https://github.com/hnarayanan/shpotify)
|
||
|
||
Copyright (c) 2012–2017 [Harish Narayanan](https://harishnarayanan.org/).
|
||
|
||
Permission is hereby granted, free of charge, to any person obtaining
|
||
a copy of this software and associated documentation files (the
|
||
"Software"), to deal in the Software without restriction, including
|
||
without limitation the rights to use, copy, modify, merge, publish,
|
||
distribute, sublicense, and/or sell copies of the Software, and to
|
||
permit persons to whom the Software is furnished to do so, subject to
|
||
the following conditions:
|
||
|
||
The above copyright notice and this permission notice shall be
|
||
included in all copies or substantial portions of the Software.
|
||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||
|
||
|
||
## Commands
|
||
|
||
| Command | Description |
|
||
| :-------------- | :----------------------------------------------- |
|
||
| `tab` | Open the current directory in a new tab |
|
||
| `split_tab` | Split the current terminal tab horizontally |
|
||
| `vsplit_tab` | Split the current terminal tab vertically |
|
||
| `ofd` | Open the current directory in a Finder window |
|
||
| `pfd` | Return the path of the frontmost Finder window |
|
||
| `pfs` | Return the current Finder selection |
|
||
| `cdf` | `cd` to the current Finder directory |
|
||
| `pushdf` | `pushd` to the current Finder directory |
|
||
| `quick-look` | Quick-Look a specified file |
|
||
| `man-preview` | Open a specified man page in Preview app |
|
||
| `showfiles` | Show hidden files |
|
||
| `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.|
|