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.

47 lines
1.9 KiB

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