Made changes to the loop for it to actually work
This commit is contained in:
parent
10cd274443
commit
1d27e4aa3c
1 changed files with 5 additions and 11 deletions
16
install
Normal file → Executable file
16
install
Normal file → Executable 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."
|
||||
|
|
Loading…
Add table
Reference in a new issue