Skip to content

Instantly share code, notes, and snippets.

@rogeralsing
Last active May 29, 2016 18:48
Show Gist options
  • Save rogeralsing/d0d782583d55fde111a5d2700f1fbfcf to your computer and use it in GitHub Desktop.
Save rogeralsing/d0d782583d55fde111a5d2700f1fbfcf to your computer and use it in GitHub Desktop.
install.sh
sudo apt-add-repository ppa:numix/ppa
sudo apt-get -qq update
sudo apt-get -qq install git
sudo apt-get -qq install golang
sudo apt-get -qq install zsh
sudo apt-get -qq install numix-icon-theme numix-icon-theme-circle
sudo apt-get -qq install autojump
cd ~
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
chsh -s $(which zsh)
mkdir ~/proto
cd ~/proto
wget -qO- -O tmp.zip https://github.com/google/protobuf/releases/download/v3.0.0-beta-3/protoc-3.0.0-beta-3-linux-x86_64.zip && unzip tmp.zip && rm tmp.zip
mkdir ~/powerline
cd ~/powerline
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
#wget -O /tmp/intellij.tar.gz http://download.jetbrains.com/idea/ideaIC-12.0.4.tar.gz &&
#tar xfz /tmp/intellij.tar.gz &&
#cd idea-IC-123.169/bin &&
#./idea.sh
eval $(go env)
export GOPATH=~/
go get github.com/gogo/protobuf/proto
go get github.com/gogo/protobuf/protoc-gen-gogo
go get github.com/gogo/protobuf/gogoproto
go get github.com/gogo/protobuf/protoc-gen-gofast
go get github.com/rogeralsing/gam
echo "eval \$(go env)" >> ~/.zshrc
echo "export GOPATH=~" >> ~/.zshrc
echo ". /usr/share/autojump/autojump.sh" >> ~/.zshrc
sed 's/robbyrussell/agnoster/g' ~/.zshrc
echo "export PATH=\"$PATH:~/proto:~/bin\"" >> ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment