From 1d27e4aa3cddc8114b138ca4bcb3f8cfb30dd4cb Mon Sep 17 00:00:00 2001 From: tUrG0n Date: Mon, 20 Aug 2012 00:32:27 +0300 Subject: [PATCH] Made changes to the loop for it to actually work --- install | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) mode change 100644 => 100755 install 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."