From 10cd274443a6fa5a32c30b0d857f0c35e98080b5 Mon Sep 17 00:00:00 2001 From: tUrG0n Date: Mon, 20 Aug 2012 00:22:09 +0300 Subject: [PATCH] Added the one liner --- README.md | 17 ++--------------- install | 12 ++++++++++++ 2 files changed, 14 insertions(+), 15 deletions(-) create mode 100644 install diff --git a/README.md b/README.md index 9fbe53f1..be44d01e 100644 --- a/README.md +++ b/README.md @@ -11,22 +11,9 @@ Installation Oh My Zsh will work with any recent release of Zsh, but the minimum recommended version is 4.3.10. - 1. Clone the repository: +Install using the following one liner: - git clone --recursive https://github.com/sorin-ionescu/oh-my-zsh.git ~/.oh-my-zsh - - 2. Create a new Zsh configuration by copying the Zsh configuration file - runcoms provided: - - for rcfile in ~/.oh-my-zsh/runcoms/z{shenv,shrc,login,logout}; do - cp -f $rcfile ~/.$rcfile:t - done - - 3. Set Zsh as your default shell: - - chsh -s /bin/zsh - - 4. Open a new Zsh terminal window or tab. +``curl https://raw.github.com/sorin-ionescu/prezto/master/install | sh`` ### Mac OS X diff --git a/install b/install new file mode 100644 index 00000000..119d0000 --- /dev/null +++ b/install @@ -0,0 +1,12 @@ +#!/bin/sh +echo "We will now install prezto." + +git clone --recursive https://github.com/sorin-ionescu/oh-my-zsh.git ~/.oh-my-zsh + +for rcfile in ~/.oh-my-zsh/runcoms/z{shenv,shrc,login,logout}; do + cp -f $rcfile ~/.$rcfile:t +done + +chsh -s /bin/zsh + +echo "Congrats! prezto is successfully installed. To test it open a new Zsh terminal window or tab."