mirror of
https://codeberg.org/hyperreal/bin
synced 2024-11-25 10:23:42 +01:00
12 lines
276 B
Bash
Executable File
12 lines
276 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if ! test -x "$(command -v gum)"; then
|
|
echo "Missing dependency: gum"
|
|
echo "See github.com/charmbracelet/gum"
|
|
exit 1
|
|
fi
|
|
|
|
for box in $(distrobox list | tail -n +2 | gum choose --no-limit | awk '{ print $3 }'); do
|
|
distrobox rm -f $box;
|
|
done
|