Skip to content

HHousen's dotfiles: Zsh, Chezmoi, Antigen, Oh My Zsh, Powerlevel10k, Oh My Tmux, GEF, and the ultimate vimrc

Notifications You must be signed in to change notification settings

HHousen/dotfiles

Repository files navigation

HHousen's dotfiles

HHousen's configuration files managed by chezmoi. Uses Zsh, Antigen for plugin management, Oh My Zsh for plugins and themes, powerlevel10k as the theme, Oh My Tmux for custom tmux configuration, Atuin for terminal history, and some tools from modern-unix.

Installation/Setup

Before following the installation steps below, create the file ~/.config/chezmoi/chezmoi.toml with the following content:

[data]
    conda_path="/opt/anaconda/"
    manage_firefox_user_chrome=true
    git_email="hayden@haydenhousen.com"
    git_name="Hayden Housen"

This file defines variables to be used by chezmoi's templates.

Explanation of the options:

  • conda_path: Path to your conda installation. If you don't use conda then remove conda_path or set it to an empty string.
  • manage_firefox_user_chrome: Set to true to symlink dot_firefoxUserChrome.css into ~/.mozilla/firefox/<profile>/chrome/userChrome.css (where <profile> is automatically determined and is probably your default firefox profile). This is carried out by the run_once_after_firefox_user_chrome.sh.tmpl script. The default options in dot_firefoxUserChrome.css hide the horizontal tabs and is intended to be used with the Tree Style Tab firefox extension.
  • git_email and git_name: Global git user email and name set in ~/.gitconfig.

One Command

Run sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply HHousen to get everything downloaded and installed or follow the individual steps below.

Individual Steps

  1. Install chezmoi by following chezmoi's install guide. You can learn more about chezmoi by reading their quick start guide or how-to guide.

  2. Initialize chezmoi using this repository: chezmoi init https://github.com/HHousen/dotfiles.git.

  3. Preview changes that chezmoi would make to your $HOME: chezmoi diff.

  4. Apply the changes: chezmoi apply. This will automatically install antigen and packages required for certain plugins using the run_once_install-packages.sh script. Upon the first launch, antigen will initialize and install everything else.

  5. Launch zsh: zsh.

Fonts

The font I use is the Meslo Nerd Font patched for Powerlevel10k.

Included tools

Workflow

  1. Run chezmoi add <file> to add files to the chezmoi repo.
  2. Edit files in ~/.local/share/chezmoi or wherever the chezmoi repo is (chezmoi cd to find out).
  3. Git commit (and eventually push) the changes.
  4. Run chezmoi diff to preview the changes that will be made to your $HOME.
  5. Run chezmoi apply to apply the changes to your $HOME.

Previous tools

Some previous tools that are no longer included:

About

HHousen's dotfiles: Zsh, Chezmoi, Antigen, Oh My Zsh, Powerlevel10k, Oh My Tmux, GEF, and the ultimate vimrc

Topics

Resources

Stars

Watchers

Forks