forked from extern/ohmyzsh
fae34b383d
The sub-command `reclaim` is quite useful for freeing up disk space. `reclaim` is a useful command that is missing from the list of completions in the plugin. The description is for the `reclaim` sub-command is: "port reclaim will find files that can be removed to reclaim disk space by uninstalling inactive ports on your system as well as unnecessary unrequested ports, and removing unneeded or unused installation files. The user is then provided interactive options for files to remove. No files are removed initially, until the user selects them from the provided list." For all the details use this command on a system with Macports installed: `port help reclaim` |
||
---|---|---|
.. | ||
_port | ||
macports.plugin.zsh | ||
README.md |
Macports plugin
This plugin adds completion for the package manager Macports, as well as some aliases for common Macports commands.
To use it, add macports
to the plugins array in your zshrc file:
plugins=(... macports)
Aliases
Alias | Command | Description |
---|---|---|
pc | sudo port clean --all installed |
Clean up intermediate installation files for installed ports |
pi | sudo port install |
Install package given as argument |
psu | sudo port selfupdate |
Update ports tree with MacPorts repository |
puni | sudo port uninstall inactive |
Uninstall inactive ports |
puo | sudo port upgrade outdated |
Upgrade ports with newer versions available |
pup | psu && puo |
Update ports tree, then upgrade ports to newest versions |