dotfiles/.bin/OLD/port-deleter
2024-02-14 07:55:58 +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