[install] ignore escapes in user configs

closes issue #45
This commit is contained in:
Matt Hamilton 2016-05-14 14:28:15 -07:00 committed by Adam Goldsmith
parent f8e89e2cf5
commit 5b077d4fad
4 changed files with 7 additions and 1 deletions

View File

@ -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
```

View File

@ -1,3 +1,5 @@
#################
# CORE SETTINGS #
#################

View File

@ -1,3 +1,5 @@
#
# startup file read in interactive login shells
#

View File

@ -1,3 +1,5 @@
#
# User configuration sourced by interactive shells
#