Skip to content

Instantly share code, notes, and snippets.

@jonchurch
Created March 17, 2020 02:55
Show Gist options
  • Save jonchurch/b9173b40eabc2152937dd1cc4aa937e3 to your computer and use it in GitHub Desktop.
Save jonchurch/b9173b40eabc2152937dd1cc4aa937e3 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Basic user preference setup
sudo yum update -y
sudo yum install -y git zsh tmux util-linux-user
cd /home/ec2-user || exit
# oh-my-zsh
CHSH=no RUNZSH=no KEEP_ZSHRC=yes sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sudo chsh -s "$(command -v zsh)" ec2-user
git clone https://github.com/jonchurch/dot-files .dot-files
cp .dot-files/{.vimrc,.tmux.conf} ./
cp .dot-files/minimal.zshrc ./.zshrc
# Install nvm, node, and npm
# I'm letting zsh-nvm take care of this now
# curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.3/install.sh | SHELL=zsh bash
# . .nvm/nvm.sh
# nvm install node
# node -e "console.log('Running Node.js ' + process.version)"
vim -c 'PluginInstall' -c 'qa!'
# LFS deps install
sudo yum groupinstall -y "Development Tools"
sudo yum install -y texinfo python3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment