1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-30 22:54:13 +08:00
ohmyzsh/plugins/macos
theredcmdcraft 5e59d21e54
Add Support for Tabby Terminal in Macos Plugin (#12451)
* Added Support for Tabby in Macos-Plugin

* Update README.md

Added Supported Terminal List

* chore(macos): Update README to link to terminals

Linking to the supported terminals, moving reference to the original author to the Acknowledgements section

---------

Co-authored-by: Robby Russell <robby@planetargon.com>
2024-05-26 12:53:03 -07:00
..
_security refactor(osx): Rename osx plugin to macos (#10341) 2021-11-05 16:40:38 -07:00
macos.plugin.zsh Add Support for Tabby Terminal in Macos Plugin (#12451) 2024-05-26 12:53:03 -07:00
music refactor(osx): Rename osx plugin to macos (#10341) 2021-11-05 16:40:38 -07:00
README.md Add Support for Tabby Terminal in Macos Plugin (#12451) 2024-05-26 12:53:03 -07:00
spotify feat(macos): update spotify plugin to upstream (#11534) 2023-09-11 09:35:28 +02:00

MacOS plugin

This plugin provides a few utilities to make it more enjoyable on macOS (previously named OSX).

To start using it, add the macos plugin to your plugins array in ~/.zshrc:

plugins=(... macos)

Supported Terminals

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 passed directories (or $PWD by default) in Finder
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 man pages 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
freespace Erases purgeable disk space with 0s on the selected disk

Acknowledgements

Original author: Sorin Ionescu

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.