1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 20:27:29 +08:00
ohmyzsh/plugins/macports
Søren Nielsen fae34b383d
feat(macports): add 'reclaim' to completion list for Macports (#9521)
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`
2021-01-11 20:26:37 +01:00
..
_port feat(macports): add 'reclaim' to completion list for Macports (#9521) 2021-01-11 20:26:37 +01:00
macports.plugin.zsh macports: add README (#7204) 2018-10-03 18:08:50 +02:00
README.md macports: add README (#7204) 2018-10-03 18:08:50 +02:00

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