From 1f60d19191daab064cfd2522c526dff83176f5d0 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Fri, 1 Sep 2023 19:04:14 +0200 Subject: [PATCH] Add yay aliases --- zshrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/zshrc b/zshrc index b1053cc..9257534 100644 --- a/zshrc +++ b/zshrc @@ -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 '