Skip to content
pevd950Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Dotfiles

Personal dotfiles managed with yadm.

New computer

Install prerequisites for your OS:

# macOS (Homebrew required)
brew install yadm python shellcheck

# Debian/Ubuntu
sudo apt install yadm zsh git curl python3-venv shellcheck stow fzf fd-find bat direnv

Preserve any existing files that conflict with the clone.

Bootstrap installs dependencies and configures runtimes, skill links, and macOS 1Password/Git/SSH integration. Review it before running.

yadm clone --no-bootstrap https://github.com/pevd950/dotfiles.git
yadm config local.class personal  # or work
yadm bootstrap

On Linux, replace the last command with DOTFILES_INSTALL_LINUX_SHELL_TOOLS=1 yadm bootstrap to install shell tools.

Update

Commit or stash tracked local changes before pulling.

yadm status
yadm pull --ff-only
yadm alt

Run yadm bootstrap only when you need setup changes applied.

Terminal prompt

Start a new Zsh session after pulling. The shared Starship prompt starts with a short, color-coded hostname chip. The 🌐 marker means SSH. Long commands show their duration on the right when the terminal is at least 72 columns wide. To pick a color instead of using the automatic palette, put this in the untracked ~/.config/zsh/custom/exports-local.zsh (or ~/.zshrc_custom/exports-local.zsh if still using the legacy layout):

export DOTFILES_HOST_COLOR=BLUE

Choices: YELLOW, CYAN, BLUE, MAGENTA, GREEN, RED, WHITE, BRIGHT_BLUE, or ORANGE. No per-host Starship config file is needed. An existing STARSHIP_CONFIG override still takes precedence.

At home, yadm:N shows the latest cached count of changed tracked files. It refreshes in the background at most once a minute as you use the prompt; a missing badge can mean clean or not checked yet. Use ys (yadm status) for the exact list and swift --version when you need the toolchain version.

Windows

From a separate Git checkout of this repo, preview and apply:

.\scripts\setup-windows.ps1
.\scripts\setup-windows.ps1 -Apply

Copies Codex guidance, Craft, task management, cross-host context, and the linked GitHub media reference. No packages installed. Different existing files, linked paths, and custom CODEX_HOME require manual review. Move reviewed conflicts aside and rerun; start a fresh Codex chat to load the guidance.

WSL (optional source checkout)

After reviewing the distro, run in PowerShell as Administrator:

wsl --install --distribution Ubuntu-24.04 --no-launch

Launch Ubuntu to create a user. Inside Ubuntu, review packages before installing:

sudo apt-get update
apt-get --simulate install --no-install-recommends git yadm ca-certificates
sudo apt-get install --no-install-recommends git yadm ca-certificates
mkdir -p "$HOME/.local/share/dotfiles-source"
yadm clone --no-bootstrap -w "$HOME/.local/share/dotfiles-source" https://github.com/pevd950/dotfiles.git

Use an account without an existing YADM repository. This only checks out source; Windows Codex uses the Windows setup above. Do not run the full bootstrap here.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages