-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·41 lines (32 loc) · 1.41 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
echo "=== Setting up yay ==="
git clone https://aur.archlinux.org/yay.git
cd yay/
makepkg -si
echo "Setting up system utils"
yay -S alsa-utils feh xorg-backlight alacritty rofi picom i3status i3lock-fancy redshift wmctrl libinput-gestures insomnia
echo "Setting up fonts"
yay -S ttf-monaco nerd-fonts-complete ttf-mac-fonts
fc-cache -f -v
echo "Setting up development utils"
yay -S visual-studio-code-bin docker curl wget insomnia openssh
echo "=== Starting and setting up docker ==="
systemctl start docker
systemctl enable docker
echo "=== Setting up nvm ==="
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
echo "=== Setting up Go ==="
## TODO: Automate latest version
curl -sf https://dl.google.com/go/go1.14.1.linux-386.tar.gz --output go1.14.1.linux-386.tar.gz
tar -C /usr/local -xzf go1.14.1.linux-386.tar.gz
echo "=== Setting up rvm ==="
curl -sSL https://get.rvm.io | bash -s stable
echo "=== Setting up vim ==="
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
echo ""
echo "Post install reminders:"
echo " - set volume in alsa-utils"
echo " - set latest ruby, node versions"
echo " - generate ssh key and add to Github: ssh-keygen -t rsa -b 4096"