bin/dboxen
2022-11-24 00:24:12 -06:00

11 lines
251 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
distrobox enter \
$(distrobox list | tail -n +2 | gum choose --limit=1 | awk '{ print $3 }')