2016-10-18 14:47:22 +00:00
|
|
|
# macOS plugin
|
2016-06-15 22:23:09 +00:00
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
This plugin provides a few utilities to make it more enjoyable on OSX.
|
|
|
|
|
2016-10-18 14:47:22 +00:00
|
|
|
To start using it, add the `macOS` plugin to your plugins array in `~/.zshrc`:
|
2016-06-15 22:23:09 +00:00
|
|
|
|
|
|
|
```zsh
|
2016-10-18 14:47:39 +00:00
|
|
|
plugins=(... macOS)
|
2016-06-15 22:23:09 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
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-08-31 21:22:04 +00:00
|
|
|
| `spotify` | Control Spotify and search by artist, album, track and etc.|
|