mkhomedir

# test that chezmoi add --encrypt without encryption fails
! chezmoi add --encrypt $HOME${/}.encrypted
stderr 'no encryption'

# test that chezmoi apply without encryption fails
! chezmoi apply --force
stderr 'no encryption'

-- home/user/.encrypted --
# contents of .encrypted
-- home/user/.local/share/chezmoi/encrypted_dot_encrypted --
