Skip to content

stilist/dotfiles

Repository files navigation

dotfiles

This repository has my personal set of dotfiles, split across several categories:

  • True ‘dotfiles’ -- configuration files with a name that begins with a . (like .profile).
  • Utility scripts are in dot_sh/bin, which will be placed at $HOME/.sh/bin. Each script has a documentation block that explains what the script does, and demonstrates how to use it. I use the histgrep and switch utility scripts a lot.
  • ‘Per-session’ scripts are in dot_sh/session, which will be placed at $HOME/.sh/session. These scripts do things like adding to $PATH, creating shell aliases, and defining environment variables.

Installation

This repository depends on the chezmoi tool. Once you’ve installed chezmoi, run this command in your terminal:

chezmoi init --apply --verbose https://github.com/stilist/dotfiles.git

To make git commits, you’ll need to make sure $HOME/.config/chezmoi/chezmoi.toml has these keys defined, with your own values filled in:

[data]
name = "Your name here"

[data.git]
# @see https://github.com/settings/emails
email = "Your email here"
signingkey = "Your GPG key here"

You can read the chezmoi documentation for more information on how to use the tool.