8 lines
147 B
Bash
8 lines
147 B
Bash
#!/bin/bash
|
|
|
|
# pacman list sizes
|
|
pacsizes()
|
|
{
|
|
pacman -Qi $1 | awk '/^Name/{name=$3} /^Installed Size/{size=$4$5; print size, name;}' | sort -h
|
|
}
|