1
0
Fork 0
mirror of synced 2024-11-22 15:25:34 -05:00

Remove unnecessary braces

This commit is contained in:
Matt Hamilton 2015-12-29 11:34:38 -05:00
parent b7977d28f2
commit c5880eab94

View file

@ -49,7 +49,7 @@ uninstall those first to prevent conflicts.
```
setopt EXTENDED_GLOB
for template_file ( ${ZDOTDIR:-${HOME}}/.zim/templates/* ); do
user_file="${ZDOTDIR:-${HOME}}/.${${template_file}:t}"
user_file="${ZDOTDIR:-${HOME}}/.${template_file:t}"
( print -n "$(<${template_file})\n$(<${user_file})" >! ${user_file} ) 2>/dev/null
done
```