]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/macports/README.md
...
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / macports / README.md
1 # Macports plugin
2
3 This plugin adds completion for the package manager [Macports](https://macports.com/),
4 as well as some aliases for common Macports commands.
5
6 To use it, add `macports` to the plugins array in your zshrc file:
7
8 ```zsh
9 plugins=(... macports)
10 ```
11
12 ## Aliases
13
14 | Alias | Command                            | Description                                                  |
15 |-------|------------------------------------|--------------------------------------------------------------|
16 | pc    | `sudo port clean --all installed`  | Clean up intermediate installation files for installed ports |
17 | pi    | `sudo port install`                | Install package given as argument                            |
18 | pli   | `port livecheck installed`         | Check for updates for installed ports                        |
19 | plm   | `port-livecheck-maintainer`        | Check for updates of ports mainained by the specified users  |
20 | psu   | `sudo port selfupdate`             | Update ports tree with MacPorts repository                   |
21 | puni  | `sudo port uninstall inactive`     | Uninstall inactive ports                                     |
22 | puo   | `sudo port upgrade outdated`       | Upgrade ports with newer versions available                  |
23 | pup   | `psu && puo`                       | Update ports tree, then upgrade ports to newest versions     |
24
25 ## Commands
26
27 ### port-livecheck-maintainer
28
29 ```text
30 Usage:
31   port-livecheck-maintainer
32   port-livecheck-maintainer (maintainer)+
33   port-livecheck-maintainer -h|--help
34
35 Check
36
37 Options:
38   maintainer  maintainer id
39   -h          print this help message and exit
40 ```
41
42 Checks whether updates are available for ports whose maintainer is the current
43 user, or any of a specified list of maintainer expressions.  The current user
44 maintainer id is retrieved as follows:
45
46 * The value of the `MACPORTS_MAINTAINER` variable, if set and not null.
47 * The value of the `USER` variable.