1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00
ohmyzsh/plugins/osx
2021-09-28 11:40:31 +02:00
..
_security osx: refactor plugin and add a few features (#9026) 2020-06-17 11:26:39 +02:00
music osx: refactor plugin and add a few features (#9026) 2020-06-17 11:26:39 +02:00
osx.plugin.zsh fix(osx): only run Preview.app in man-preview if man page exists (#10222) 2021-09-28 11:40:31 +02:00
README.md osx: refactor plugin and add a few features (#9026) 2020-06-17 11:26:39 +02:00
spotify osx: use return instead of exit in spotify function 2019-12-28 18:07:09 +01:00

OSX plugin

This plugin provides a few utilities to make it more enjoyable on macOS (previously named 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
pxd Return the current Xcode project directory
cdx cd to the current Xcode project directory
quick-look Quick-Look a specified file
man-preview Open a specified man page in Preview app
showfiles Show hidden files in Finder
hidefiles Hide the hidden files in Finder
itunes DEPRECATED. Use music from macOS Catalina on
music Control Apple Music. Use music -h for usage details
spotify Control Spotify and search by artist, album, track…
rmdsstore Remove .DS_Store files recursively in a directory
btrestart Restart the Bluetooth daemon

Acknowledgements

This application makes use of the following third party scripts:

shpotify

Copyright (c) 20122019 Harish Narayanan.

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.