2012-08-20 00:32:27 +03:00
|
|
|
#!/bin/bash
|
2012-08-20 00:34:05 +03:00
|
|
|
echo "We will now install prezto."
|
|
|
|
git clone --recursive https://github.com/sorin-ionescu/oh-my-zsh.git ~/.oh-my-zsh
|
|
|
|
|
2012-08-20 00:32:27 +03:00
|
|
|
cd $HOME/.oh-my-zsh/runcoms/
|
|
|
|
for rcfile in z{shenv,shrc,login,logout}; do
|
|
|
|
cp -f $rcfile ~/.$rcfile
|
|
|
|
cat ~/.$rcfile
|
2012-08-20 00:22:09 +03:00
|
|
|
done
|
2012-08-20 00:34:05 +03:00
|
|
|
|
|
|
|
chsh -s /bin/zsh
|
|
|
|
|
|
|
|
cd
|
|
|
|
echo "Congrats! prezto is successfully installed. To test it open a new Zsh terminal window or tab."
|