Remove unnecessary braces
This commit is contained in:
parent
b7977d28f2
commit
c5880eab94
@ -49,7 +49,7 @@ uninstall those first to prevent conflicts.
|
|||||||
```
|
```
|
||||||
setopt EXTENDED_GLOB
|
setopt EXTENDED_GLOB
|
||||||
for template_file ( ${ZDOTDIR:-${HOME}}/.zim/templates/* ); do
|
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
|
( print -n "$(<${template_file})\n$(<${user_file})" >! ${user_file} ) 2>/dev/null
|
||||||
done
|
done
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user