oh-my-fish/plugins/archlinux/pacman/paclist.fish
2014-02-28 19:29:39 -05:00

4 lines
154 B
Fish

function paclist
pacman -Qei (pacman -Qu|cut -d" " -f 1)|awk ' BEGIN {FS=":"}/^Name/{printf("\033[1;36m%s\033[1;37m", $2)}/^Description/{print $2}'
end