1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-16 02:41:13 +00:00
prezto/modules/pacman
Indrajit Raychaudhuri ac628c9059 [general] Switch code block formatting to use fence formatting
Changes:
* Indented code block doesn't support syntax highlighting, use fenced
formatting (```) instead for better syntax highlighting
* Wrap commands/functions in backticks
* Typo fixes
2017-07-22 13:11:29 -05:00
..
functions Add comments into each of the function files to make them easier to find 2017-07-06 16:13:36 -07:00
init.zsh replace the deprecated abs call in the pacu alias. 2017-06-08 11:10:07 -07:00
README.md [general] Switch code block formatting to use fence formatting 2017-07-22 13:11:29 -05:00
yaourt.zsh Only one newline at end of file 2014-10-09 23:38:15 -04: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.