1
0
Fork 0
mirror of synced 2024-11-17 13:35:35 -05:00

[install] ignore escapes in user configs

closes issue #45
This commit is contained in:
Matt Hamilton 2016-05-14 14:28:15 -07:00
parent d37fc0715a
commit 40cbc82ac3
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
#