Kyle Finley's dotfiles, managed with chezmoi.
Install them with:
chezmoi init ITProKyleOnce completed, you may need to logout then back in for all changes to take effect as some things are setup in .zprofile.
This will always be the case for new initializations but only some updates.
The install.sh script can be used to setup Codespaces, devcontainers, or Linux systems.
bash -c "$(curl -s https://raw.githubusercontent.com/ITProKyle/dotfiles/master/install.sh)"This repository contains paths that include ::.
Windows cannot create normal working-tree files with :: in the name.
A plain git clone/chezmoi init may download the repository successfully but fail during checkout with an error like:
error: invalid path 'src/dot_local/bin/executable_finley::backup.poetry'
fatal: unable to checkout working tree
To resolve this, use sparse checkout so Git keeps those paths in repository history but does not try to write them to the Windows filesystem.
$ git clone --no-checkout https://github.com/ITProKyle/dotfiles.git ~/.local/share/chezmoi
$ cd ~/.local/share/chezmoi
$ git sparse-checkout init --no-cone && git sparse-checkout set "/*" "!src/dot_local/bin/*::*" && git checkout -f HEAD && git status --short
Your branch is up to date with 'origin/master'.The final git status --short command should print no changes.
If you already ran a plain clone and saw the invalid-path checkout error, keep the partially cloned folder and run the following:
$ cd ~/.local/share/chezmoi
$ git config --local core.protectNTFS false && git sparse-checkout init --no-cone && git sparse-checkout set "/*" "!src/dot_local/bin/*::*" && git checkout -f HEAD && git status --short
Your branch is up to date with 'origin/master'.
$ git config --local --unset core.protectNTFSGit can refuse to update the index because of NTFS path protection while recovering a failed clone.
So, you may need to temporarily set core.protectNTFS=false for this repository.
This is already included in the commands above as is enabling it once finished.