Beginn with setup script
This commit is contained in:
parent
e0dbd27aff
commit
9fe59b5882
1 changed files with 34 additions and 0 deletions
34
setup.sh
Executable file
34
setup.sh
Executable file
|
@ -0,0 +1,34 @@
|
|||
#!/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'
|
Loading…
Reference in a new issue