From e4e446f324c4337aa3444eb3df95976a33b7c3fb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 13 Mar 2013 08:11:05 -0400 Subject: [PATCH] Rename install scripts, add ubuntu install script --- README.md | 11 +++++++++-- install-deps.sh => installdeps-mac.sh | 1 + installdeps-ubuntu.sh | 18 ++++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) rename install-deps.sh => installdeps-mac.sh (96%) mode change 100644 => 100755 create mode 100755 installdeps-ubuntu.sh diff --git a/README.md b/README.md index 9249b157..f05ef32b 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/install-deps.sh b/installdeps-mac.sh old mode 100644 new mode 100755 similarity index 96% rename from install-deps.sh rename to installdeps-mac.sh index 5c977e2d..ef70b606 --- a/install-deps.sh +++ b/installdeps-mac.sh @@ -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 diff --git a/installdeps-ubuntu.sh b/installdeps-ubuntu.sh new file mode 100755 index 00000000..c7617d08 --- /dev/null +++ b/installdeps-ubuntu.sh @@ -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