From f147a16052241f10250930aac8259412f7ea795c Mon Sep 17 00:00:00 2001 From: Stefan Gaiselmann Date: Wed, 11 Nov 2020 10:32:46 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.adoc=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.adoc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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