1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-14 06:31:12 +00:00
prezto/modules/pacman
Indrajit Raychaudhuri 1ff9421f7b general: Update documentation better qualifying runcom paths
Zsh and Prezto files don't always reside in `~/`. Instead, they have
a more spec compliant location (`${ZDOTDIR:-$HOME}/`). Make them
unambiguous in the documentation. Likewise, for `$GNUPGHOME`.

Further, add instruction for optionally setting up Prezto in
`$XDG_CONFIG_HOME`.

While at this, also add clarification on relative ordering of some of
the modules, apply more formatting tweaks and doc improvements.
2021-05-21 12:31:02 -05:00
..
functions Make .zcomp* location configurable (#1842) 2020-06-04 13:53:44 -07:00
init.zsh pacman: Simplify support for AUR helpers 2018-01-24 13:47:22 -08:00
README.md general: Update documentation better qualifying runcom paths 2021-05-21 12:31:02 -05:00

Pacman

Provides aliases and functions for the Pacman package manager and frontends.

Settings

It is possible to use a Pacman frontend with the pacman aliases provided by this package as long as that frontend supports the same command line options (The AUR Helpers page has a good comparison which lists if the command line options are pacman compatible).

Please note that installing packages with an AUR Helper is not officially supported by Archlinux. It is currently recommended to manually build AUR packages using the provided instructions. The aurutils project has a set of small utilities to make this easier.

To enable a different Pacman frontend, add the following to ${ZDOTDIR:-$HOME}/.zpreztorc, and replace '<frontend>' with the name of the preferred frontend.

zstyle ':prezto:module:pacman' frontend '<frontend>'

Aliases

Pacman

  • pac is short for pacman.
  • paci installs packages from repositories.
  • pacI installs packages from files.
  • pacx removes packages and unneeded dependencies.
  • pacX removes packages, their configuration, and unneeded dependencies.
  • pacq displays information about a package from the repositories.
  • pacQ displays information about a package from the local database.
  • pacs searches for packages in the repositories.
  • pacS searches for packages in the local database.
  • pacu synchronizes the local package and Arch Build System (requires abs) databases against the repositories.
  • pacU synchronizes the local package database against the repositories then upgrades outdated packages.
  • pacman-list-orphans lists orphan packages.
  • pacman-remove-orphans removes orphan packages.

Frontends

Functions

  • aurget clone an aur package.
  • pacman-list-explicit lists explicitly installed pacman packages.
  • pacman-list-disowned lists pacman disowned files.

Authors

The authors of this module should be contacted via the issue tracker.