Skip to content

Instantly share code, notes, and snippets.

@castrojo
Created January 3, 2024 12:48
Show Gist options
  • Save castrojo/2ab159ab19946e2c470529f84d1cff7f to your computer and use it in GitHub Desktop.
Save castrojo/2ab159ab19946e2c470529f84d1cff7f to your computer and use it in GitHub Desktop.
GNU nano 7.2 bluefin-cli.just
bluefin-cli:
#!/usr/bin/env bash
echo "Configuring Bluefin's CLI"
OPTION=$(gum choose "Ubuntu" "Fedora" "Bluefin" "None")
if [ "$OPTION" = "Ubuntu" ]
then
distrobox-create --nvidia --image ghcr.io/ublue-os/ubuntu-toolbox:latest -n ubuntu -Y
elif [ "$OPTION" = "Fedora" ]
then
distrobox-create --nvidia --image ghcr.io/ublue-os/fedora-distrobox:latest -n fedora -Y
elif [ "$OPTION" = "Bluefin" ]
then
distrobox-create --nvidia --image ghcr.io/ublue-os/bluefin-cli:latest -n bluefin -Y -a
elif [ "$OPTION" = "None" ]
then
echo "Doing nothing, have a nice day!"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment