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:
parent
1ab110c264
commit
5371975f37
1 changed files with 1 additions and 1 deletions
|
@ -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
|
for template_file in ${ZDOTDIR:-${HOME}}/.zim/templates/*; do
|
||||||
user_file="${ZDOTDIR:-${HOME}}/.${template_file:t}"
|
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
|
done
|
||||||
|
|
||||||
4. Set Zsh as the default shell:
|
4. Set Zsh as the default shell:
|
||||||
|
|
Loading…
Reference in a new issue