These are my dotfiles, managed with chezmoi.
I currently use these on Linux and Windows (WSL and natively). The dotfiles are mostly for command-line dev tools, and they are intended to be indifferent towards how you install your software, so you can use whatever package manager or distro you want.
Below is a non-exhaustive list of software that these dotfiles have configs for. As mentioned above, you can install this software however you want, but on Linux it may be worth considering a distro-agnostic package manager like brew. On Windows, I recommend using scoop.
- Neovim (See the config's README for software requirements)
- WezTerm
fishShell (on Linux)- PowerShell (on Windows)
starshipPrompt- Atuin (Linux only)
- Jujutsu VCS
- Difftastic
ezazoxidetealdeer
First, you need to install chezmoi. You can use a package manager or the one-line install script. You should install Git and set up an SSH key along with ssh-agent (consider using the AddKeysToAgent option) if you haven't already. On Windows, you should also enable Developer Mode, which allows chezmoi to create symbolic links without needing to elevate to administrator.
Next, we need to git clone the dotfiles into chezmoi's source directory (~/.local/share/chezmoi/), generate chezmoi's config file (~/.config/chezmoi/chezmoi.toml), and then apply the dotfiles. To do this, run the commands below. When you run chezmoi init, it will ask for information that is used to populate the dotfiles (e.g. git name/email, code editor) - some of these options will indicate a default which you can press Enter to use.
chezmoi init github.com/petermused/dotfiles --ssh # The --ssh option performs the git clone using an SSH URL instead of a HTTPS URL
chezmoi applyYou have now installed the dotfiles! To change them, edit the files in chezmoi's source directory, and run chezmoi apply to apply the changes to your home directory. If your changes affect chezmoi's config file, you may need to run chezmoi init first. See chezmoi's documentation for more.
If you have installed Neovim, read the Neovim README for information on how to manage the Neovim plugins, and what software is required to use them.