diff --git a/README.md b/README.md index 78ee1c1..e08f9cb 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ uninstall those first to prevent conflicts. ``` setopt EXTENDED_GLOB for template_file ( ${ZDOTDIR:-${HOME}}/.zim/templates/* ); do - user_file="${ZDOTDIR:-${HOME}}/.${${template_file}:t}" + user_file="${ZDOTDIR:-${HOME}}/.${template_file:t}" ( print -n "$(<${template_file})\n$(<${user_file})" >! ${user_file} ) 2>/dev/null done ```