README.md 1.41 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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

18
19
20
| Command         | Description                                      |
| :-------------- | :----------------------------------------------- |
| `tab`           | Open the current directory in a new tab          |
21
22
| `split_tab`     | Split the current terminal tab horizontally      |
| `vsplit_tab`    | Split the current terminal tab vertically        |
23
24
25
26
27
28
29
30
31
| `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                            |
32
| `itunes`        | Control iTunes. User `itunes -h` for usage details |
mahi97's avatar
mahi97 committed
33
| `spotify`       | Control Spotify and search by artist, album, track and etc.|