diff --git a/README.md b/README.md index f91460c..f629ad4 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ by following the instructions below: for template_file ( ${ZDOTDIR:-${HOME}}/.zim/templates/* ); do user_file="${ZDOTDIR:-${HOME}}/.${template_file:t}" touch ${user_file} - ( print -n "$(<${template_file})\n$(<${user_file})" >! ${user_file} ) 2>/dev/null + ( print -rn "$(<${template_file})$(<${user_file})" >! ${user_file} ) 2>/dev/null done ``` diff --git a/templates/zimrc b/templates/zimrc index 7250fe8..f89691a 100644 --- a/templates/zimrc +++ b/templates/zimrc @@ -1,3 +1,5 @@ + + ################# # CORE SETTINGS # ################# diff --git a/templates/zlogin b/templates/zlogin index 36b9e02..f05b263 100644 --- a/templates/zlogin +++ b/templates/zlogin @@ -1,3 +1,5 @@ + + # # startup file read in interactive login shells # diff --git a/templates/zshrc b/templates/zshrc index ee13729..e640dcc 100644 --- a/templates/zshrc +++ b/templates/zshrc @@ -1,3 +1,5 @@ + + # # User configuration sourced by interactive shells #