mksourcedir

chezmoi source-path
cmpenv stdout golden/source-path

chezmoi source-path $HOME${/}.bashrc
cmpenv stdout golden/source-path-bashrc

! chezmoi source-path $HOME${/}.inputrc
stderr 'file does not exist'

! chezmoi source-path $WORK${/}etc${/}passwd
stderr 'outside target directory'

-- golden/source-path --
$HOME${/}.local${/}share${/}chezmoi
-- golden/source-path-bashrc --
$HOME${/}.local${/}share${/}chezmoi${/}dot_bashrc
