dotfiles/setup.sh

28 lines
520 B
Bash
Raw Normal View History

2021-07-25 16:13:54 +00:00
#!/bin/bash
ME="/home/$(whoami)"
2021-07-27 19:12:03 +00:00
CFG="${ME}/.config"
DOTFILES="${ME}/dotfiles"
BINDIR="${ME}/dotfiles/bin"
2021-07-25 16:13:54 +00:00
echo "I'm assuming you're doing a fresh install. Send a SIGTERM anytime you like."
2021-07-27 19:12:03 +00:00
sudo apt install -y curl wget openssl tar unzip git
sudo chmod -R 755 ./scripts
2021-07-25 16:13:54 +00:00
if test ! $(which fnm); then
2021-07-27 19:12:03 +00:00
./scripts/node.sh install
2021-07-25 16:13:54 +00:00
fi
if test ! $(which go); then
2021-07-27 19:12:03 +00:00
./scripts/go.sh install
fi
if test ! $(which julia); then
./scripts/julia.sh install
fi
if test ! $(which nvim); then
./scripts/neovim.sh install
2021-07-25 16:13:54 +00:00
fi