Add yay aliases

This commit is contained in:
Jeremy Gardais 2023-09-01 19:04:14 +02:00
parent d27e482db4
commit 1f60d19191
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 12 additions and 0 deletions

12
zshrc
View File

@ -173,6 +173,18 @@ if [ -d /etc/pacman.d ]; then
#alias anorepos="apt list --installed | sed --silent 's/\(.*\)\/.*,local.*/\1/p' | tr '\n' ' '"
fi
# }}}
# Yay commands for AUR Archlinux User Repository {{{
if command -v yay > /dev/null; then
alias yains='yay --sync --'
alias yalis='yay --query --upgrades --'
alias yapol='yay --sync --info --'
#alias apts='apt search'
alias yasea='yay --sync --search --'
alias yasho='yay --sync --info --'
#alias awhy='aptitude why'
#alias anorepos="apt list --installed | sed --silent 's/\(.*\)\/.*,local.*/\1/p' | tr '\n' ' '"
fi
# }}}
# Grep aliases {{{
alias grep='grep --color=always --ignore-case '