Rename install scripts, add ubuntu install script

This commit is contained in:
Henrik Lissner 2013-03-13 08:11:05 -04:00
parent 4babe03620
commit e4e446f324
3 changed files with 28 additions and 2 deletions

View file

@ -2,11 +2,18 @@
The magicks!
./install-deps.sh
## Installation
### Mac
./installdeps-mac.sh
./osx
./brew
./rvm
And if you want vim too:
### Ubuntu
./installdeps-ubuntu.sh
## And if you want vim...
sh <(curl https://raw.github.com/hlissner/mlvim/master/install.sh -L)

1
install-deps.sh → installdeps-mac.sh Normal file → Executable file
View file

@ -16,5 +16,6 @@ curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh |
src=$(cd "$(dirname "$0")"; pwd)
ln -sf $src/zshrc ~/.zshrc
ln -sf $src/zsh ~/.zsh
ln -sf $src/gitignore ~/.gitignore
ln -sf $src/gitconfig ~/.gitconfig

18
installdeps-ubuntu.sh Executable file
View file

@ -0,0 +1,18 @@
#!/bin/bash
sudo apt-get update
sudo apt-get install zsh git curl
# Install oh-my-zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
# Change shell
chsh -s /bin/zsh
# Create links
src=$(cd "$(dirname "$0")"; pwd)
ln -sf $src/zshrc ~/.zshrc
ln -sf $src/zsh ~/.zsh
ln -sf $src/gitignore ~/.gitignore
ln -sf $src/gitconfig ~/.gitconfig