This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
prezto/modules/pacman
2014-01-21 22:12:09 -05:00
..
functions [Fix #514] Use /tmp when $TMPDIR is undefined 2014-01-03 14:20:32 -05:00
init.zsh [Fix #535] Set Pacman frontend to 'pacman' when none set 2014-01-21 22:12:09 -05:00
README.md [Fix #253] Move Prezto settings into their own file 2012-09-03 16:52:47 -04:00
yaourt.zsh Don't use sudo if implicitly called by Pacman frontend 2014-01-04 17:30:37 -05:00

Pacman

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

Settings

To enable a Pacman frontend, for example, Yaourt, add the following line to zpreztorc:

zstyle ':prezto:module:pacman' frontend 'yaourt'

If you have enabled color globally in zpreztorc, you may disable it for certain commands.

To disable yaourt highlighting, add the following line to zpreztorc:

zstyle ':prezto:module:pacman:yaourt' color 'no'

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

Yaourt

  • pacc manages .pac* files.

Functions

  • 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.