[Fix #188] Use basename when copying templates
This commit is contained in:
parent
ed8609f17a
commit
3ca1293792
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue