# There is currently not a way to override the shell for testing on Windows
[windows] skip

# test chezmoi cd
chezmoi cd
grep -count=1 ${CHEZMOISOURCEDIR@R} shell.log

# test chezmoi cd with command with args
[!exec:bash] stop
chhome home2${/}user
chezmoi cd
stdout version

-- home2/user/.config/chezmoi/chezmoi.toml --
[cd]
    command = "bash"
    args = ["--version"]
