Made changes to the loop for it to actually work

This commit is contained in:
tUrG0n 2012-08-20 00:32:27 +03:00
parent 10cd274443
commit 1d27e4aa3c

16
install Normal file → Executable file
View file

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