From b2e43c49f7d7171feb0b22326f83c892a42045d7 Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Fri, 12 Jul 2024 22:47:07 -0400 Subject: [PATCH] added a pacsize alias Signed-off-by: Seaswimmer --- .zshc/aliases.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zshc/aliases.zsh b/.zshc/aliases.zsh index 0fc1b6c..cf51d07 100755 --- a/.zshc/aliases.zsh +++ b/.zshc/aliases.zsh @@ -15,6 +15,8 @@ alias nf="fastfetch" alias ff="fastfetch" alias uf="uwufetch" alias aur="yay" +# this lists packages installed with pacman by size in megabytes +alias pacsize="pacman -Qi | egrep '^(Name|Installed)' | cut -f2 -d':' | paste - - | column -t | sort -nrk 2 | grep MiB | less" alias htop="btop" alias clip="xsel -ib" alias driver="nvidia-smi"