mirror of
https://codeberg.org/hyperreal/bin
synced 2024-11-25 18:33:42 +01:00
11 lines
251 B
Plaintext
11 lines
251 B
Plaintext
|
#!/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 }')
|