dotfiles/.bin/port-deleter
2024-01-21 21:52:56 +01:00

12 lines
201 B
Bash
Executable File

#!/bin/sh
while true;
do
PORT=$(pkg_info -mz | fzf -e --sync --bind start:last)
[ ! -z $PORT ] \
&& doas pkg_delete -c "$PORT"
[ -z $PORT ] \
&& exit 0
done
pkg_delete -ac