Skip to content

feat: global gitignore, modular aliases/functions, macOS defaults#2

Merged
haongo138 merged 1 commit into
mainfrom
feat/dotfiles-freek-additions
Jul 10, 2026
Merged

feat: global gitignore, modular aliases/functions, macOS defaults#2
haongo138 merged 1 commit into
mainfrom
feat/dotfiles-freek-additions

Conversation

@haongo138

Copy link
Copy Markdown
Owner

Summary

Fills the structural gaps found by comparing against freekmurze/dotfiles, adapted from his PHP/Laravel workflow to this React/TS · Go · Postgres · devbox · chezmoi setup.

  • dot_global-gitignore — global git excludes wired via core.excludesFile (macOS/editor/Node/Go/Python junk + secrets)
  • dot_aliases / dot_functions — modular shell config sourced from .zshrc; stack-focused (docker/colima, devbox, go, pnpm/bun, psql, claude, modern CLI). No collisions with existing inline aliases
  • git sane defaults in dot_gitconfig.tmpl: init.defaultBranch=main, pull.rebase, push.autoSetupRemote, fetch.prune, diff.colorMoved
  • macos/set-defaults.sh — dev-friendly macOS defaults (fast key-repeat, no smart quotes, Finder/screenshot/dock tweaks). Manual + opt-in via just macos; never auto-runs
  • README — layout, daily-use, and a credits section

Deliberately skipped from freek's repo

His PHP/Laravel aliases, Livewire/Flux/Mailcoach Claude skills, mackup, and vim config — not relevant to this stack.

Test plan

  • zsh -n / bash -n clean on all new scripts
  • chezmoi apply succeeds; ~/.aliases, ~/.functions, ~/.global-gitignore present
  • git config core.excludesFile + push.autoSetupRemote live
  • chezmoi status clean; secret gate clean
  • macos/, secrets/, packages/ excluded from $HOME via .chezmoiignore

Fill senior-dotfiles gaps inspired by freekmurze/dotfiles, adapted to the
React/TS + Go + Postgres + chezmoi stack:

- dot_global-gitignore wired via git core.excludesFile
- dot_aliases / dot_functions sourced from .zshrc (docker/colima, devbox, go, pnpm/bun, psql, claude)
- git sane defaults: init.defaultBranch, pull.rebase, push.autoSetupRemote, fetch.prune
- macos/set-defaults.sh (manual, opt-in) plus 'just macos'
- README: layout, daily-use, and credits updated
@haongo138 haongo138 merged commit c8a7cd4 into main Jul 10, 2026
@haongo138 haongo138 deleted the feat/dotfiles-freek-additions branch July 10, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant