Update README.md instructions

> You should never have a pipeline both reading from and writing to a file.

My bad. See https://stackoverflow.com/a/25335116/2654518

Fixes #316
This commit is contained in:
Eric Nielsen 2019-01-05 18:18:42 -05:00
parent 1ab110c264
commit 5371975f37
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ Installing Zim is easy. If you have a different shell framework installed (like
for template_file in ${ZDOTDIR:-${HOME}}/.zim/templates/*; do
user_file="${ZDOTDIR:-${HOME}}/.${template_file:t}"
cat ${template_file} ${user_file}(.N) >! ${user_file}
cat ${template_file} ${user_file}(.N) > ${user_file}.tmp && mv ${user_file}{.tmp,}
done
4. Set Zsh as the default shell: