Welcome to the macOS Shortcuts Collection repository! This repository aims to provide a collection of useful shortcuts to help solve common problems on macOS and enhance your productivity. Whether you are a developer or an everyday user, these shortcuts can help simplify your workflow and save you time.
-
Kill Process by Port Number: This shortcut allows you to terminate a process by specifying the port number. It helps resolve port conflicts that you may encounter during macOS development.
-
Remove App Installation Restrictions: This shortcut removes the installation restrictions for apps by executing the
xattr -r -d com.apple.quarantine path
command. It helps resolve installation issues caused by app corruption that prevent them from opening.
To use these shortcuts, follow these steps:
- Download the respective shortcut files from the provided links above.
- Import the shortcuts into your macOS device's Shortcuts app.
You can quickly access and run these shortcuts using the following methods:
-
Spotlight Search: macOS offers a powerful Spotlight Search feature that allows you to quickly find and run the desired shortcut. Press
Command + Space
to activate Spotlight Search, then type the name of the shortcut to search for. Once you find the matching shortcut, you can run it directly. -
Pin to Menu Bar: You can also pin frequently used shortcuts to the macOS Menu Bar for easy access and execution. Open the Shortcuts app on macOS, select the desired shortcuts, then right-click on the shortcut icon and choose the "Pin to Menu Bar" option. Once pinned, you can access these shortcuts directly from the Menu Bar.
Contributions to this repository are welcome! If you have other shortcuts that solve common macOS problems or want to improve existing shortcuts, please submit a pull request. Please make sure to follow the contribution guidelines.
This repository is licensed under the MIT License. You are free to use, modify, and distribute the code within the terms of the license.