Aptitude aliases module for zsh
This repository has been archived on 2026-09-13. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2016-08-24 16:35:51 -04:00
init.zsh removed sudo for Help(yah) and Search(yas) 2016-08-24 16:18:23 -04:00
README.md Create Readme 2016-08-24 16:35:51 -04:00

Easy to remember semi-pacman-style aliases for some common Aptitude commands.

Mostly for personal use, but will work for anyone using Aptitude

Usage

Aptitude Aliases: corresponding letters in description capitalized for mneumonic help ;)

yah: show this Help

yai: Install

yar: Remove

yap: Purge

yas: Search

yad: show (show Details of a package)

yay: update (sYnchronize)

yau: safe-Upgrade

yayu: update (sYnchronize) -> safe-Upgrade

yauf: Full-Upgrade (may remove packages)

yayuf: update (sYnchronize) -> Full-Upgrade (may remove packages)

Install

Zsh (zprezto):

git clone https://github.com/HardyTaylorJ/aptitude-custom-aliases.git .zprezto/modules/

Enable 'aptitude-custom-aliases' in zsh modules

Open new instance of zsh (like a new terminal)

Other:

Either load in the alias file through your shell rc file or just copy and paste the contexts of the file to the end of your rc file