forked from extern/ohmyzsh
ff5629e60b
* Improve UX for Spotify commands in osx plugin Spotify command UX is a bit weak for people who live and work almost entirely in shells. - `spotify quit` should not open Spotify if it is not already running. Should confirm that Spotify is indeed not running. - `spotify quit` should not blow away the user's shell once Spotify is quit. This can be a disruption to work flow. This PR looks to add a few little checks which will help improve this experience. This PR also adds a space to line 477 between `break` and `;;` for consistency. Doesn't seem like a big enough change to put in its own PR. * Rearranging output as per peer feedback * osx plugin's spotify: change quitting w/ closing Closing is more idiomatic English. |
||
---|---|---|
.. | ||
osx.plugin.zsh | ||
README.md |
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
:
plugins=(... osx)
Original author: Sorin Ionescu
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. |