[Fix #188] Use basename when copying templates
This commit is contained in:
parent
ed8609f17a
commit
3ca1293792
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ version is 4.3.10.
|
|||
templates provided:
|
||||
|
||||
for rcfile in ~/.oh-my-zsh/templates/z{shenv,shrc,login,logout}; do
|
||||
cp -f "${rcfile}" "${HOME}/.${rcfile}"
|
||||
cp -f $rcfile ~/.$rcfile:t
|
||||
done
|
||||
|
||||
4. Set Zsh as your default shell:
|
||||
|
|
Loading…
Reference in a new issue