Skip to content
Prompt

dotfiles — Copilot Instructions

by edbizarro

AI Summary

Provides Copilot instructions for managing a personal Linux dotfiles repository using GNU Stow, with detailed guidance on package structure, installation workflows, and modular ZSH configuration. Useful for developers maintaining complex dotfiles across multiple tools (i3, tmux, zsh, polybar, etc.).

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "dotfiles — Copilot Instructions" prompt rules to my project.
Repository: https://github.com/edbizarro/dotfiles

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

:skull: dotfiles! managed by GNU stow

What This Is

Personal Linux dotfiles repo. GNU Stow manages symlinks — each top-level directory is a stow package. Supports Arch Linux and Ubuntu 24.04.

ZSH Has a Special Stow Structure

ZSH does NOT stow from repo root like other packages: `bash cd ~/.dotfiles/zsh && stow configs -t ~/ # NOT: stow --target=$HOME zsh ` The Makefile handles this automatically — always prefer make stow or make stow-core.

Multi-Distro Conditional Logic

$DISTRO_ID (set by zsh/exports/00-distro.zsh) is "arch" or "ubuntu". Use it for any distro-specific logic. The Makefile mirrors this detection.

Polybar Hardware Config

hardware.ini is gitignored and machine-specific. After stowing, run make polybar-hw to generate it.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 21d ago
Active
Adoption100+ stars on GitHub
102 ★ · Growing
DocsMissing or thin
Undocumented

GitHub Signals

Stars102
Forks5
Issues2
Updated21d ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more