Skip to content

Instantly share code, notes, and snippets.

@blaedj
Last active May 16, 2019 19:18
Show Gist options
  • Save blaedj/11387166 to your computer and use it in GitHub Desktop.
Save blaedj/11387166 to your computer and use it in GitHub Desktop.
simple Ubuntu Linux setup script
#TO USE: Run the following:
# sudo curl -fsSkL http://gist.githubusercontent.com/blaedj/11387166/raw/352c44464e0db63afb9f375b887942f5676bfcda/setup.sh | sh
#install git
sudo apt-get install git
#install zsh
apt-get install zsh
chsh -s /bin/zsh
#clone oh-my-zsh configs
git clone https://github.com/blaedj/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/.zshrc ~/.zshrc
#install emacs24
add-apt-repository ppa:cassou/emacs
apt-get update
sudo apt-get install emacs24 emacs24-el emacs24-common-non-dfsg
#clone my .emacs.d
git clone https://github.com/blaedj/emacs.d.git ~/.emacs.d
#install cask and add to path
curl -fsSkL https://raw.github.com/cask/cask/master/go | python
echo "export PATH=\"/root/.cask/bin:$PATH\"" >> .zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment