[windows] stop

chmod 755 bin/vimdiff
mkhomedir
mksourcedir

chezmoi merge $HOME${/}.file
stdout ^${HOME@R}/\.file\s+${CHEZMOISOURCEDIR@R}/dot_file\s+${WORK@R}/.*/\.file$

# test that chezmoi merge falls back to a two-way merge when the template is invalid
# FIXME the following test fails
# chezmoi merge $HOME${/}.invalid_template
# stdout ^${HOME@R}/\.invalid_template\s+${CHEZMOISOURCEDIR}/dot_invalid_template\.tmpl$

-- bin/vimdiff --
#!/bin/sh

echo "$*"
-- home/user/.invalid_template --
-- home/user/.local/share/chezmoi/dot_invalid_template.tmpl --
{{
