35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
echo '
|
||
|
-------------------------------------------------------------
|
||
|
_ _ _ _ ____ _ _____ _ _
|
||
|
| \ | (_) | ___ _ ___| _ \ ___ | |_| ___(_) | ___ ___
|
||
|
| \| | | |/ / | | / __| | | |/ _ \| __| |_ | | |/ _ \/ __|
|
||
|
| |\ | | <| |_| \__ \ |_| | (_) | |_| _| | | | __/\__ \
|
||
|
|_| \_|_|_|\_\\__,_|___/____/ \___/ \__|_| |_|_|\___||___/
|
||
|
|
||
|
Dirty Setup Script for this glorious Dotfiles
|
||
|
-------------------------------------------------------------'
|
||
|
|
||
|
echo '
|
||
|
-------------------------------------------------------------
|
||
|
Install hard dependency golang
|
||
|
-------------------------------------------------------------'
|
||
|
|
||
|
if type -p apt > /dev/null
|
||
|
then
|
||
|
echo 'Debian/Ubuntu'
|
||
|
sudo apt update && sudo apt install golang
|
||
|
elif type -p dnf > /dev/null
|
||
|
then
|
||
|
echo 'RHEL/Fedora'
|
||
|
sudo dnf install golang
|
||
|
fi
|
||
|
|
||
|
echo '
|
||
|
-------------------------------------------------------------
|
||
|
Install Gum for a pretty CLI Experience
|
||
|
-------------------------------------------------------------'
|
||
|
go install github.com/charmbracelet/gum@latest
|
||
|
gum style --border rounded --margin '1 2' --padding '2 4' --align center --foreground '#5BCEFA' --border-foreground '#F5A9B8' 'Gum is now installed' 'yay :3'
|