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.
- Host: GitHub
- URL: https://github.com/zimfw/pacman
- Owner: zimfw
- License: mit
- Created: 2017-12-04T18:47:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-02T16:16:31.000Z (over 3 years ago)
- Last Synced: 2025-04-13T12:13:22.715Z (about 1 year ago)
- Topics: aur, pacman, zim, zimfw, zsh, zsh-plugin, zsh-plugins
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 11
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.