Zsh plugin for archlinux package managers
This plugin is inspired by oh-my-zsh archlinux plugin, which in my opinion is not very useful, because it includes many functions and aliases which I probably use once or twice a month and even more aliases that I never use. So it doesn't make any sense to even remember them.
There are basically only 3 commands that I use every day: install a regular package, install an AUR package and update them. And these are the only commands I want aliases for. Another problem that this plugin is aimed to solve is to get rid of those officious confirmations and "Do you want to edit?" prompts that are really annoying.
-
Clone this repository into
$ZSH_CUSTOM/plugins
(by default~/.oh-my-zsh/custom/plugins
)git clone git://github.com/iloginow/zsh-paci $ZSH_CUSTOM/plugins/zsh-paci
-
Add the plugin to the list of plugins for Oh My Zsh to load:
plugins=(zsh-paci)
-
Start a new terminal session.
-
Clone this repository somewhere on your machine. For example:
~/.zsh/zsh-paci
.git clone git://github.com/iloginow/zsh-paci ~/.zsh/zsh-paci
-
Add this to your .zshrc:
source ~/.zsh/zsh-paci/zsh-paci.zsh
-
Start a new terminal session.
Alias | Description |
---|---|
paci | Install a regular package with pacman |
auri | Install an AUR package with packer |
pacu | Uninstall a package and its dependencies |
upgrade | Update all packages (both AUR and regular) |
This plugin is licensed under MIT license. For the full text of the license, see the LICENSE file.