[!windows] skip 'Windows only'

# test chezmoi cd with command with args
chezmoi cd
! stdout PowerShell
stdout arg1

chhome home2/user

# test chezmoi cd when $SHELL environment variable contains spaces
env SHELL='shell arg2'
chezmoi cd
stdout 'arg2'

-- bin/shell.cmd --
@echo off
echo %*
-- home/user/.config/chezmoi/chezmoi.toml --
[cd]
    command = "powershell"
    args = ["-nologo", "-command", "Write-Host 'arg1'"]
