cd
Launch a shell in the working tree (typically the source directory). chezmoi
will launch the command set by the cd.command
configuration variable with any
extra arguments specified by cd.args
. If this is not set, chezmoi will
attempt to detect your shell and finally fall back to an OS-specific default.
Hint
This does not change the current directory of the current shell. To do that, instead use:
$ cd $(chezmoi source-path)
Example
$ chezmoi cd