diff --git a/README.adoc b/README.adoc index 4d17b83..40f317b 100644 --- a/README.adoc +++ b/README.adoc @@ -66,3 +66,22 @@ else . ~/.sshrc fi ---- + +=== cygwin + +When using cygwin, the `chezmoi` executable has defaults for Windows. +That means the default HOME dir is the Windows `%USERPROFILE%` directory. +To provide the managed files to the cygwin path `/home/user` the target directory has to be adjusted while calling `chezmoi`. + +[source,console] +---- +H:\>chezmoi apply -D C:\cygwin64\home\user + +H:\>chezmoi -D C:\cygwin64\home\user managed +C:\cygwin64\home\user\.gitconfig +C:\cygwin64\home\user\.solarize_colors +C:\cygwin64\home\user\.solarize_colors_base +C:\cygwin64\home\user\.sshrc +C:\cygwin64\home\user\.vimrc +C:\cygwin64\home\user\bin +---- \ No newline at end of file