mirror of
https://codeberg.org/hyperreal/bin
synced 2024-11-01 16:43:08 +01:00
11 lines
251 B
Bash
Executable File
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 }')
|