Last active
August 29, 2015 13:56
-
-
Save binaryphile/9121958 to your computer and use it in GitHub Desktop.
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
| sudo apt-get install -y python-software-properties | |
| sudo add-apt-repository ppa:fish-shell/nightly-master | |
| sudo add-apt-repository ppa:lvillani/silversearcher | |
| sudo sed -i -e 's/us.archive.ubuntu.com/ubuntu.wikimedia.org/g' /etc/apt/sources.list | |
| sudo apt-get update -qq | |
| sudo apt-get install -y git-core build-essential ranger htop vim highlight tmux nodejs curl silversearcher-ag fish | |
| ranger #quit | |
| ranger --copy-config=all | |
| chsh -s /usr/bin/fish | |
| fish | |
| curl -L https://github.com/bpinto/oh-my-fish/raw/master/tools/install.sh | sh | |
| git clone git://github.com/binaryphile/dotfiles | |
| rm .config/fish/config.fish | |
| ln -s dotfiles/config.fish .config/fish/config.fish | |
| # logout, log back on | |
| ln -s dotfiles/.gemrc .gemrc | |
| ln -s dotfiles/.tmux.conf .tmux.conf | |
| cp dotfiles/template.gitconfig dotfiles/.gitconfig | |
| ln -s dotfiles/.gitconfig .gitconfig | |
| wget -O ruby-install-0.3.4.tar.gz https://github.com/postmodern/ruby-install/archive/v0.3.4.tar.gz | |
| tar -xzvf ruby-install-0.3.4.tar.gz | |
| cd ruby-install-0.3.4/ | |
| sudo make install | |
| cd .. | |
| rm -rf ruby-install-0.3.4 | |
| rm ruby-install-0.3.4.tar.gz | |
| ruby-install ruby 2.0 | |
| rm -rf src | |
| wget -O chruby-0.3.5.1.tar.gz https://github.com/JeanMertz/chruby-fish/archive/v0.3.5.1.tar.gz | |
| tar -xzvf chruby-0.3.5.1.tar.gz | |
| cd chruby-0.3.5.1/ | |
| sudo make install | |
| cd .. | |
| rm -rf chruby-0.3.5.1 | |
| source /usr/local/share/chruby/chruby.fish | |
| chruby 2.0 | |
| git clone git://github.com/binaryphile/dot_vim .vim | |
| cd .vim | |
| scripts/setup |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PPAs are for precise. Use the release-2 for fish on other releases, silversearcher is already included.
On machines with a separate procedure for installing ruby, such as spree deployments, skip ruby-install and chruby.