Thanks to visit codestin.com
Credit goes to github.com

Skip to content

kedwards/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

129 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Overview

Dotfiles, managed with Chezmoi.

IMPORTANT: While many dotfile repositories are designed to be forked, mine are not. These are customized for my personal use and likely contain many things you won't need or want to use. Posting publicly so you can see how I manage my dotfiles and maybe get some ideas for how to manage your own.

The actual dotfiles exist under the home directory specified in the .chezmoiroot. See .chezmoiroot - chezmoi more detail on the setting.

Install

Ensure required software is installed before proceeding. There are many ways to install Chezmoi. Check the official documentation for the most up-to-date instructions.

Testing

docker build -t chezmoi . --build-arg USERNAME="$(whoami)"
docker run -it -v "$(pwd):/home/$(whoami)/.local/share/chezmoi" chezmoi /bin/bash --login

First Run

To install chezmoi and these dotfiles in a single command run the following:

sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply kedwards

Daily Usage

After Chezmoi is installed, use the following commands.

# Initialize chezmoi configuration and apply the dotfiles (first run)
chezmoi init kedwards

# Check for common problems.
chezmoi doctor

# Update dotfiles from the source directory.
chezmoi apply

# Pull the latest changes from your remote repo and runs chezmoi apply.
chezmoi update

About

Dot file management with chezmoi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published