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