diff --git a/install b/install old mode 100644 new mode 100755 index 119d0000..7a922aca --- a/install +++ b/install @@ -1,12 +1,6 @@ -#!/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 +#!/bin/bash +cd $HOME/.oh-my-zsh/runcoms/ +for rcfile in z{shenv,shrc,login,logout}; do + cp -f $rcfile ~/.$rcfile + cat ~/.$rcfile done - -chsh -s /bin/zsh - -echo "Congrats! prezto is successfully installed. To test it open a new Zsh terminal window or tab."