[Fix #188] Use basename when copying templates

This commit is contained in:
Sorin Ionescu 2012-06-08 12:34:51 -04:00
parent ed8609f17a
commit 3ca1293792

View File

@ -23,7 +23,7 @@ version is 4.3.10.
templates provided: templates provided:
for rcfile in ~/.oh-my-zsh/templates/z{shenv,shrc,login,logout}; do for rcfile in ~/.oh-my-zsh/templates/z{shenv,shrc,login,logout}; do
cp -f "${rcfile}" "${HOME}/.${rcfile}" cp -f $rcfile ~/.$rcfile:t
done done
4. Set Zsh as your default shell: 4. Set Zsh as your default shell: