Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 1 KB

README.md

File metadata and controls

15 lines (13 loc) · 1 KB

dotfiles

This repository contains the dotfiles I use in my personal computer and in devcontainers. It is managed by chezmoi, and it's much easier to use than my old ansible setup. Since most devcontainers have bash as their default shell, we can exploit this by having devcontainer specific setups in .bashrc, and local setups in .zshrc. The install.sh script (executed by default in devcontainers) has been generated by using the following instructions.

Some useful commands in case I forgot how to use chezmoi:

# cz is an alias for chezmoi
cz apply # Syncs the dotfiles
cz edit # Edits the dotfile and adds it to git
cz diff # Previews the differences between the stored state and the current state

The .chezmoiscripts directory contains scripts that will be executed every time they change (run_once_). We can use them to manage the system packages.