feat: global gitignore, modular aliases/functions, macOS defaults#2
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 viacore.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 aliasesdot_gitconfig.tmpl:init.defaultBranch=main,pull.rebase,push.autoSetupRemote,fetch.prune,diff.colorMovedmacos/set-defaults.sh— dev-friendly macOSdefaults(fast key-repeat, no smart quotes, Finder/screenshot/dock tweaks). Manual + opt-in viajust macos; never auto-runsDeliberately 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 -nclean on all new scriptschezmoi applysucceeds;~/.aliases,~/.functions,~/.global-gitignorepresentgit config core.excludesFile+push.autoSetupRemotelivechezmoi statusclean; secret gate cleanmacos/,secrets/,packages/excluded from$HOMEvia.chezmoiignore