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."