Skip to content

bernardolm/dotfiles

Repository files navigation

dotfiles

Dotfiles repository to keep a consistent cli environment across macOS, Windows (PowerShell + WSL), Ubuntu/Debian server, and Alpine, with as much sharing as possible.

what this repository configures

  • shell: zsh (primary), ash (alpine), and powershell (windows);
  • prompt: starship;
  • cli: wezterm and windows terminal;
  • tools: git, ssh, tmux, nano, and cli utilities;
  • platform bootstrap in bootstrap/.

quick usage

Prerequisite: clone into ~/dotfiles.

cd ~/dotfiles
python3 bootstrap/bootstrap.py

Useful modes:

DOTFILES_DRY_RUN=1 python3 bootstrap/bootstrap.py
DOTFILES_BOOTSTRAP_LINK=0 python3 bootstrap/bootstrap.py
DOTFILES_BOOTSTRAP_INSTALL_PACKAGES=0 python3 bootstrap/bootstrap.py
DOTFILES_OS_PROFILE=server python3 bootstrap/bootstrap.py

main structure

  • bootstrap/: installation and configuration by platform/profile.
  • cli/: shell, prompt, cli, and tooling files.
  • .githooks/: repository quality automations (pre-commit).
  • bin/: helper utilities.
  • .v1/: legacy version for reference only.