oh-my-fish/plugins/archlinux/pacman/paclist.fish

4 lines
154 B
Fish
Raw Normal View History

function paclist
2014-03-01 03:14:48 +08:00
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