2016-06-15 22:23:09 +00:00
|
|
|
# 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)
|
|
|
|
|
|
|
|
|
|
|
|
## Commands
|
|
|
|
|
2016-08-15 00:55:02 +00:00
|
|
|
| Command | Description |
|
|
|
|
| :-------------- | :----------------------------------------------- |
|
|
|
|
| `tab` | Open the current directory in a new tab |
|
2016-08-24 18:02:27 +00:00
|
|
|
| `split_tab` | Split the current terminal tab horizontally |
|
|
|
|
| `vsplit_tab` | Split the current terminal tab vertically |
|
2016-08-15 00:55:02 +00:00
|
|
|
| `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 |
|
2016-08-24 18:02:27 +00:00
|
|
|
| `itunes` | Control iTunes. User `itunes -h` for usage details |
|
2016-09-20 02:56:12 +00:00
|
|
|
| `spotify` | Control Spotify and search by artist, album, track and etc.|
|