TRIAL 2026-11-18
  • Shell 77.6%
  • Just 13.3%
  • Emacs Lisp 9.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Travis Johnson 0584d120c2 Add shell tip-of-the-day, split Brewfile into profiles, extract more config
- .zsh/motd.zsh + tips.txt: once-per-half-day tip nudge (NUDGE/FLAG/NEW),
  with `tip`/`tip-add` and script/suggest-tips to mine history for candidates
- Brewfiles/{common,personal} + justfile replace the single Brewfile
  (work/Square packages intentionally excluded; this repo is public)
- Extract .zsh/traviscj.zsh, .taskrc, .config/bin/{enhanced-git-branch.sh,ghmarkdown},
  and sync richer .config/jj/config.toml aliases
- Wire new files through script/bootstrap; document in README

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 10:59:02 -05:00
.claude Initialize portable workstation dotfiles 2026-04-17 21:43:55 -05:00
.config Add shell tip-of-the-day, split Brewfile into profiles, extract more config 2026-06-04 10:59:02 -05:00
.emacs.d Initialize portable workstation dotfiles 2026-04-17 21:43:55 -05:00
.zsh Add shell tip-of-the-day, split Brewfile into profiles, extract more config 2026-06-04 10:59:02 -05:00
Brewfiles Add shell tip-of-the-day, split Brewfile into profiles, extract more config 2026-06-04 10:59:02 -05:00
script Add shell tip-of-the-day, split Brewfile into profiles, extract more config 2026-06-04 10:59:02 -05:00
.gitconfig Initialize portable workstation dotfiles 2026-04-17 21:43:55 -05:00
.gitignore Add shell tip-of-the-day, split Brewfile into profiles, extract more config 2026-06-04 10:59:02 -05:00
.profile Initialize portable workstation dotfiles 2026-04-17 21:43:55 -05:00
.taskrc Add shell tip-of-the-day, split Brewfile into profiles, extract more config 2026-06-04 10:59:02 -05:00
.tmux.conf Initialize portable workstation dotfiles 2026-04-17 21:43:55 -05:00
.zprofile Make brew + ls aliases cross-platform (macOS/Linux) 2026-05-05 16:07:12 +00:00
.zshenv Initialize portable workstation dotfiles 2026-04-17 21:43:55 -05:00
.zshrc Add shell tip-of-the-day, split Brewfile into profiles, extract more config 2026-06-04 10:59:02 -05:00
.zshrc.local.example Initialize portable workstation dotfiles 2026-04-17 21:43:55 -05:00
justfile Add shell tip-of-the-day, split Brewfile into profiles, extract more config 2026-06-04 10:59:02 -05:00
README.md Add shell tip-of-the-day, split Brewfile into profiles, extract more config 2026-06-04 10:59:02 -05:00

dotfiles

Portable baseline from my personal MacBook.

Included

  • Shell config: .zshrc, .zprofile, .zshenv, .profile, .zsh/traviscj.zsh
  • Git and Jujutsu config: .gitconfig, .config/git/ignore, .config/jj/config.toml
  • Terminal/editor config: .tmux.conf, .emacs.d/init.el
  • Tool config: .claude/settings.json, .config/gh/config.yml, .config/goose/config.yaml, .taskrc
  • Small CLI helpers: .config/bin/ (e.g. enhanced-git-branch.sh, ghmarkdown)
  • Shell tip-of-the-day nudge: .zsh/motd.zsh + .zsh/tips.txt
  • Package inventory: Brewfiles/ (see below)

Work / Square-specific config is intentionally not here — it lives in the separate Square config_files repo. This repo is public.

Excluded on purpose

  • Secrets and tokens like OPENAI_API_KEY
  • Host-specific auth files like .config/gh/hosts.yml
  • Local history, caches, sessions, and machine-specific state
  • Personal app data like .config/rrcli/config.json

Bootstrap

Clone the repo, then run:

./script/bootstrap

The script symlinks tracked files into $HOME and moves existing non-symlink files aside with a .pre-dotfiles-backup suffix.

Local-only shell config

Copy .zshrc.local.example to .zshrc.local and put machine-local exports there.

Homebrew

Packages are split into composable profiles under Brewfiles/:

  • Brewfiles/common — portable baseline, safe on any machine
  • Brewfiles/personal — personal-mac-only (GUI apps, DBs, media, local-LLM, build deps)

Apply via just (always installs common + one profile):

just install            # common + personal (default)
just common             # only the portable baseline
just untracked          # brew leaves installed here but in no Brewfile
just missing            # tracked packages not yet installed
just triage             # stage untracked leaves for sorting into a profile

No work profile lives here on purpose — work/Square packages stay in the Square config_files repo.

Tip-of-the-day

.zsh/motd.zsh prints one tip from .zsh/tips.txt on the first interactive shell of each half-day (and on demand via tip / tip -r / tip all). Add tips with:

tip-add NUDGE "fzf: pipe long lists to fzf instead of copy-pasting slugs"
./script/suggest-tips    # mine shell history for under-used tools -> proposed tip-add lines

Tags: NUDGE (installed but ignored), FLAG (option for a tool you already use), NEW (worth installing).