zimfw/modules/pacman
Eric Nielsen 5b90c96cd1 Update modules' README.md
Stick with the following style:

* Header 1 with the module name is in `lowercase`.
* Other headers are in `Sentence case`. Common header names that should
  be consistently used are `Aliases`, `Contributing`, `Functions`,
  `Settings`, and `Zsh options`.
* The names `Zim` and `Zsh` always appear capitalized, even in the
  middle of sentences.
* Prefer

      print 'code indented with 4 spaces'

  instead of
  ```zsh
  print 'code fenced by lines with three back-ticks'
  print 'unless you want syntax highlighting'
  ```
2018-12-17 14:11:16 -05:00
..
functions [pacman] Remove dependency from completion module 2018-10-01 08:17:22 -05:00
README.md Update modules' README.md 2018-12-17 14:11:16 -05:00
helper_aur.zsh [pacman] keep old packages for `auru` 2016-12-01 23:50:37 -08:00
init.zsh Don't need to use `array[@]` ouside double quotes 2018-11-19 19:43:21 -05:00

README.md

pacman

Adds aliases for the pacman package manager.

Also includes optional helper(s).

.zimrc Configuration

  • zpacman_frontend='helper_here' Set helper_here to a wrapper if applicable (powerpill, pacmatic, etc).
  • zpacman_helper=(aur) add/remove any helper scripts to be loaded here.

Helpers

aur

provides simple AUR helper aliases.

  • aurb package_name clone the package from the AUR, build, and install.
  • aurd package_name clone the package from the AUR, but do not build.
  • auru run inside a directory created with aurb, this will update, build, and install a package.

Aliases

Build

  • pacb build package in the current directory, cleanup, and install.

Install

  • paci install, sync, and upgrade packages.
  • pacu install, sync, and upgrade packages (forcibly refresh package list).
  • pacU install packages from pkg file.
  • pacd install all packages in current directory.

Remove

  • pacr remove package and unneeded dependencies.
  • pacrm remove package, unneded dependencies, and configuration files.

Query

  • pacq query package information from remote repository
  • pacQ query package information from local repository
  • pacs search for package in the remote repository
  • pacS search for package in the local repository

Orphans

  • pacol list orphan packages
  • pacor remove all orphan packages

Ownership

  • pacown list all files provided by a given package
  • pacblame show package(s) that own a specified file