-
-
Save yilenpan/cdf3baa15505306997fb1532d3b789c3 to your computer and use it in GitHub Desktop.
init
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| set -e | |
| # dot files | |
| curl https://gist.githubusercontent.com/yilenpan/f22adffec7d1188924b278f13a7489e3/raw/68ac9b7031284fcb3993a5f6513c08ea2503d312/tmux > ~/.tmux.conf | |
| curl https://gist.githubusercontent.com/yilenpan/cd5ccbc7d5045f136fb77a24da6cc497/raw/a59818a192db23bba9312d30c6d09da6c7bc1474/gistfile1.txt > ~/.gitconfig | |
| curl https://gist.githubusercontent.com/yilenpan/1e157a62119b5650d1c5d3c06a542e5c/raw/0435415bbb0f81ae766b410bbd6c80ad919b9d72/gistfile1.txt > ~/.myaliases | |
| curl https://gist.githubusercontent.com/yilenpan/ca52b2f072e69d2717a68066818eedae/raw/29b7de26da5efa855dd7e335c089027748be2d28/gistfile1.txt > ~/.bash_git | |
| curl https://gist.githubusercontent.com/yilenpan/743f799cc96c75c52fc9ea6b635a2464/raw/3bfec5653cf0e3f4f087e2471815ade4e6082ce4/gistfile1.txt > ~/.vimrc | |
| git clone [email protected]:yilenpan/vim ~/.vim | |
| # Install brew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # Install terminal | |
| brew cask install iterm2 | |
| brew install zsh | |
| sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
| # Install Terraform | |
| brew install terraform | |
| # Install Node | |
| brew install node | |
| # Install Golang | |
| echo 'export GOPATH="${HOME}/.go"' >> ~/.zshrc | |
| echo 'export GOROOT="$(brew --prefix golang)/libexec"' >> ~/.zshrc | |
| echo 'export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"' >> ~/.zshrc | |
| source ~/.zshrc | |
| brew install go | |
| brew install dep | |
| go get golang.org/x/tools/cmd/godoc | |
| go get github.com/golang/lint/golint | |
| Install TMUX | |
| brew install tmux | |
| # Install spotify | |
| brew cask install spotify | |
| Sublime | |
| brew cask install sublime-text | |
| ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime | |
| # ssh-agent | |
| ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
| eval "$(ssh-agent -s)" | |
| ssh-add -K ~/.ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment