Add yay aliases
This commit is contained in:
parent
d27e482db4
commit
1f60d19191
12
zshrc
12
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 '
|
||||
|
|
Loading…
Reference in New Issue