Dotfiles are how you personalize your system. These are mine.
I personally install everything that does not need version management using Homebrew, and the others using mise for easily switching toolchain versions.
The repository is cloned from holman/dotfiles, please read the README file in the original repository.
Below are only the parts I extracted for reference when adding content.
There's a few special files in the hierarchy.
-
bin/: Anything inbin/will get added to your$PATHand be made available everywhere. -
topic/*.zsh: Any files ending in.zshget loaded into your environment. -
topic/path.zsh: Any file namedpath.zshis loaded first and is expected to setup$PATHor similar. -
topic/completion.zsh: Any file namedcompletion.zshis loaded last and is expected to setup autocomplete. -
topic/install.sh: Any file namedinstall.shis executed when you runscript/install. To avoid being loaded automatically, its extension is.sh, not.zsh. -
topic/*.symlink: Any file ending in*.symlinkgets symlinked into your$HOME. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you runscript/bootstrap.
Just run the following command after removing unnecessary topics and tools.
./script/bootstrap