Skip to content
pinanekPublic

About

🏑 $HOME sweet home

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

90 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

pinanek's dotfiles

My dotfiles for macOS and Linux, managed with chezmoi.

Overview

Profiles

During chezmoi init, choose one profile:

Profile Platform Package manager
pinamac macOS Homebrew Bundle
isl-server Debian/Linux APT, bin, and uv

The selected profile is saved in chezmoi's generated configuration under [data].

Installation

Initialize and apply the dotfiles from GitHub:

sh -c "$(curl -fsLS https://get.chezmoi.io/lb)" -- init --apply pinanek

Or, with wget:

sh -c "$(wget -qO- https://get.chezmoi.io/lb)" -- init --apply pinanek

Choose pinamac or isl-server when prompted. To apply later changes:

chezmoi apply

Use chezmoi diff to preview managed-file changes before applying them.

Repository layout

.chezmoiroot              # Uses ./home as the chezmoi source root
home/
β”œβ”€β”€ .chezmoi.toml.tmpl    # Prompts for and persists the selected profile
β”œβ”€β”€ .chezmoiignore        # Profile-specific file and script filtering
β”œβ”€β”€ .chezmoiscripts/      # Ordered run_onchange bootstrap scripts
β”œβ”€β”€ .chezmoitemplates/    # Package manifests and shared script templates
β”œβ”€β”€ dot_config/           # Managed ~/.config contents
└── dot_zshrc             # Managed ~/.zshrc

Dots CLI

dots update                  # Update all packages for the active profile
dots update system           # Homebrew/MAS or APT only
dots update node             # fnm and Node.js LTS
dots update rust             # Rust toolchains and Cargo tools
dots update editors          # Helix and Mitos
dots update tools            # bin, pnpm, and uv tools/Python

dots theme update           # Sync Catppina themes and apply dotfiles

dots diff                    # Preview managed-file changes
dots apply                   # Apply dotfiles, including bootstrap scripts
dots pull                    # Fast-forward from origin main without applying dotfiles
dots push                    # Commit all changes as "chore: update" and push to origin main

dots completion zsh          # Generate Zsh completion
dots help                    # Show commands and active profile

Local configuration

Keep machine-specific settings in unmanaged local files:

  • ~/.zshrc_local is sourced by ~/.zshrc and can contain local aliases, environment variables, or shell settings.
  • ~/.gitconfig.local is included by ~/.gitconfig and can contain local Git identity or repository-specific settings.
# ~/.zshrc_local
export EXAMPLE_LOCAL_SETTING=value
# ~/.gitconfig.local
[user]
    name = Your Name
    email = you@example.com

About

🏑 $HOME sweet home

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages