[!exec:gpg] stop

mkgpgconfig
appendline $CHEZMOICONFIGDIR/chezmoi.toml '  suffix = ".gpg"'

# test that chezmoi add --encrypted adds a file with the expected suffix to the source dir
chezmoi add --encrypt $HOME${/}.file
exists $CHEZMOISOURCEDIR/encrypted_dot_file.gpg

-- home/user/.file --
# contents of .file
