An open API service indexing awesome lists of open source software.

https://github.com/zimfw/pacman

Adds aliases for the pacman package manager. Also includes optional helper aliases.
https://github.com/zimfw/pacman

aur pacman zim zimfw zsh zsh-plugin zsh-plugins

Last synced: about 1 year ago
JSON representation

Adds aliases for the pacman package manager. Also includes optional helper aliases.

Awesome Lists containing this project

README

          

pacman
======

Adds aliases for the pacman package manager.

Also includes optional helper(s).

Settings
--------
Change privilege command between sudo, doas (default: sudo):

zstyle ':zim:pacman' priv_cmd 'doas'

Set `wrapper_here` to a wrapper if applicable (powerpill, pacmatic, etc):

zstyle ':zim:pacman' frontend 'wrapper_here'

Add any helper scripts to be loaded:

zstyle ':zim:pacman' helpers 'aur'

Add the zstyles to your `~/.zshrc` before where the module is initialized.

Aliases
-------

* `pacb` builds package in the current directory, cleanups, and installs.
* `paci` installs, syncs, and upgrades packages.
* `pacu` installs, syncs, and upgrades packages (forcibly refreshes package list).
* `pacU` installs packages from pkg file.
* `pacd` installs all packages in current directory.
* `pacr` removes package and unneeded dependencies.
* `pacrm` removes package, unneeded dependencies, and configuration files.
* `pacq` queries package information from remote repository.
* `pacQ` queries package information from local repository.
* `pacs` searches for package in the remote repository.
* `pacS` searches for package in the local repository.
* `pacol` lists orphan packages.
* `pacor` removes all orphan packages.
* `pacown` lists all files provided by a given package.
* `pacblame` shows packages that own a specified file.

Helpers
-------

### aur

provides simple AUR helper aliases.

* `aurb` clones the given package name from the AUR, builds, and installs.
* `aurd` clones the given package name from the AUR, but does not build.
* `auru` from a directory created with `aurb`, will update, build, and install the package.