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$PATH
and be made available everywhere. -
topic/*.zsh
: Any files ending in.zsh
get loaded into your environment. -
topic/path.zsh
: Any file namedpath.zsh
is loaded first and is expected to setup$PATH
or similar. -
topic/completion.zsh
: Any file namedcompletion.zsh
is loaded last and is expected to setup autocomplete. -
topic/install.sh
: Any file namedinstall.sh
is executed when you runscript/install
. To avoid being loaded automatically, its extension is.sh
, not.zsh
. -
topic/*.symlink
: Any file ending in*.symlink
gets 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