zsh-linux: only set autoremove alias in Arch
This commit is contained in:
parent
6f421ec8df
commit
9f8a1c9f50
@ -28,7 +28,7 @@ alias gr='git reset'
|
||||
#========= Package Management =========
|
||||
# Arch Linux
|
||||
alias aurget='aur sync -d aur --chroot'
|
||||
alias -g autoremove='pacman -Rns $(pacman -Qtdq)'
|
||||
[[ -x $(which pacman) ]] && alias -g autoremove='pacman -Rns $(pacman -Qtdq)'
|
||||
alias checkaurupdates='aur sync -d aur --upgrades --chroot'
|
||||
# alias does not work correctly for some reason
|
||||
alias lspkg="pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print $4$5, name}' | sort -h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user