From 3ca1293792a2e271a030999fc75a7c733f1de1b2 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Fri, 8 Jun 2012 12:34:51 -0400 Subject: [PATCH] [Fix #188] Use basename when copying templates --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7892f8c..51284d9 100644 --- a/README.md +++ b/README.md @@ -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: