my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
3.2 KiB

3 years ago
  1. # MacOS plugin
  2. This plugin provides a few utilities to make it more enjoyable on macOS (previously named OSX).
  3. To start using it, add the `macos` plugin to your plugins array in `~/.zshrc`:
  4. ```zsh
  5. plugins=(... macos)
  6. ```
  7. Original author: [Sorin Ionescu](https://github.com/sorin-ionescu)
  8. ## Commands
  9. | Command | Description |
  10. | :------------ | :------------------------------------------------------- |
  11. | `tab` | Open the current directory in a new tab |
  12. | `split_tab` | Split the current terminal tab horizontally |
  13. | `vsplit_tab` | Split the current terminal tab vertically |
  14. | `ofd` | Open the current directory in a Finder window |
  15. | `pfd` | Return the path of the frontmost Finder window |
  16. | `pfs` | Return the current Finder selection |
  17. | `cdf` | `cd` to the current Finder directory |
  18. | `pushdf` | `pushd` to the current Finder directory |
  19. | `pxd` | Return the current Xcode project directory |
  20. | `cdx` | `cd` to the current Xcode project directory |
  21. | `quick-look` | Quick-Look a specified file |
  22. | `man-preview` | Open a specified man page in Preview app |
  23. | `showfiles` | Show hidden files in Finder |
  24. | `hidefiles` | Hide the hidden files in Finder |
  25. | `itunes` | _DEPRECATED_. Use `music` from macOS Catalina on |
  26. | `music` | Control Apple Music. Use `music -h` for usage details |
  27. | `spotify` | Control Spotify and search by artist, album, track… |
  28. | `rmdsstore` | Remove .DS_Store files recursively in a directory |
  29. | `btrestart` | Restart the Bluetooth daemon |
  30. | `freespace` | Erases purgeable disk space with 0s on the selected disk |
  31. ## Acknowledgements
  32. This application makes use of the following third party scripts:
  33. [shpotify](https://github.com/hnarayanan/shpotify)
  34. Copyright (c) 2012–2019 [Harish Narayanan](https://harishnarayanan.org/).
  35. Permission is hereby granted, free of charge, to any person obtaining
  36. a copy of this software and associated documentation files (the
  37. "Software"), to deal in the Software without restriction, including
  38. without limitation the rights to use, copy, modify, merge, publish,
  39. distribute, sublicense, and/or sell copies of the Software, and to
  40. permit persons to whom the Software is furnished to do so, subject to
  41. the following conditions:
  42. The above copyright notice and this permission notice shall be
  43. included in all copies or substantial portions of the Software.
  44. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  45. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  46. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  47. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  48. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  49. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  50. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.