Skip to content

RyosukeDTomita/chezmoi

Repository files navigation

dotfiles

mit license

INDEX


ABOUT

My dotfiles managed by chezmoi.


ENVIRONMENT

  • OS: Ubuntu 22.04 LTS
  • Shell: zsh
  • dotfiles manager: chezmoi
  • neovim
  • nix
  • VS Code
    • Dev Containers

PREPARING

  1. Install chezmoi by following the instructions on the official website.
# example for Ubuntu
dpkg --print-architecture
amd64
wget https://github.com/twpayne/chezmoi/releases/download/v2.69.3/chezmoi_2.69.3_linux_amd64.deb
sudo apt install ./chezmoi_2.69.3_linux_amd64.deb

HOW TO USE

update dotfiles

chezmoi edit <your dotfile name>
chizmoi apply # deploy changes
chezmoi cd # go to chezmoi directory(~/.local/share/chezmoi/)
git add .
git commit -m "update <your dotfile name>"
git push

Note

If you update dotfiles directly then ~/.local/share/chezmoi/ will not be changed. chezmoi add <your dotfile name>

add new dotfiles

chezmoi add <your dotfile path>

synchronize dotfiles

After try

create install.sh

chezmoi generate-install-script > install.sh

ignore files

use .chezmoiignore file.


About

my dotfiles

Topics

Resources

License

Stars

Watchers

Forks

Contributors