GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jvortmann/dots: Let's get our home organized

BranchesTags
Open more actions menu

Latest commit

 

History

1,601 Commits
1,601 Commits

Folders and files

NameName
Last commit message
Last commit date
bat
bat
 
 
ctags
ctags
 
 
dev-docs
dev-docs
 
 
eslint
eslint
 
 
fd
fd
 
 
gem
gem
 
 
ghostty
ghostty
 
 
git
git
 
 
greprip
greprip
 
 
guard
guard
 
 
herdr-app
herdr-app
 
 
herdr-core
herdr-core
 
 
iex
iex
 
 
input
input
 
 
irb
irb
 
 
karabiner
karabiner
 
 
mise
mise
 
 
orbstack
orbstack
 
 
osx
osx
 
 
pi
pi
 
 
raycast
raycast
 
 
rg
rg
 
 
tests
tests
 
 
tmux
tmux
 
 
zsh
zsh
 
 
.fdignore
.fdignore
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
Makefile
Makefile
 
 
Readme.md
Readme.md
 
 
backlog.tasks
backlog.tasks
 
 
setup-git-user.sh
setup-git-user.sh
 
 
setup-github-username.sh
setup-github-username.sh
 
 
setup-ssh-config.sh
setup-ssh-config.sh
 
 
setup-ssh-key.sh
setup-ssh-key.sh
 
 
setup.sh
setup.sh
 
 
setup_tools.sh
setup_tools.sh
 
 
symlink.sh
symlink.sh
 
 

Repository files navigation

Dots

The configuration of a macOS machine for terminal-first development: zsh, tmux, the Herdr app, Ghostty, git and a coding agent. The Herdr app replaced tmux for daily work, and tmux stays installed. The Neovim configuration lives in a separate repository, vim-files.

Set up a new machine

git clone [email protected]:jvortmann/dots.git ~/prj/config/dots
cd ~/prj/config/dots
./setup.sh "computer_name" "User Name" "[email protected]"

One command does the whole job, in this order:

  1. symlink.sh links ~/.dots to this repository, then links the files that need no setup of their own.
  2. osx/install-apps.sh installs Homebrew if it is missing, then everything in osx/Brewfile. osx/download-apps.sh fetches the apps that Homebrew does not carry.
  3. osx/configure-osx.sh sets the computer name, the keyboard, the spaces and the shortcuts.
  4. setup_tools.sh runs the setup.sh of each tool folder below.
  5. setup-git-user.sh, setup-ssh-key.sh and setup-ssh-config.sh write the git identity and an SSH key named after the computer.

Take one piece

Every script runs alone. To set up one tool, run its own script, such as ./tmux/setup.sh or ./herdr-app/setup.sh. Each one links its folder into ~/.config or ~, and does nothing else, unless the table says so.

Tool Folder What its setup does
bat bat/ links the config, rebuilds the theme cache
ctags ctags/ links the config
fd fd/ links the ignore file
Ghostty ghostty/ links the config and its themes
Herdr app herdr-app/ moves an old real folder at ~/.config/herdr-app to ~/.config/herdr-app.pre-dots (with a date added when a backup of that name exists), then links the whole folder to ~/.config/herdr-app, because the app writes its state there and git/ignore keeps that state out
herdr-core herdr-core/ moves an old real folder at ~/.config/herdr-core to ~/.config/herdr-core.pre-dots (with a date added when a backup of that name exists), then links the whole folder to ~/.config/herdr-core. Its config.toml starts Homebrew zsh as a login shell in new terminals, and shows the last screen of a lost terminal above the new shell
iex iex/ links .iex.exs
Karabiner karabiner/ links the key remaps
mise mise/ links the global tool versions, as a file and not a folder
OrbStack orbstack/ sets its CPU and memory, and links nothing
pi pi/ links the whole folder to ~/.config/pi, because pi writes its state there (auth, sessions, cache, extensions) and git/ignore keeps that state out
tmux tmux/ links the config, clones the plugin manager (then prefix + I in tmux)
zsh zsh/ links the shell config, sets zsh as the login shell

symlink.sh covers git, ripgrep, readline, gem, irb, guard and eslint, which need only a link.

dev-docs/ and raycast/ have no script. They hold exported preferences, which you import by hand in DevDocs and Raycast.

The coding agent

zsh/conf/plugins/pi.zsh points pi at ~/.config/pi with PI_CODING_AGENT_DIR. The pi/ folder holds:

Path What it holds
AGENTS.md the rules every agent session follows
APPEND_SYSTEM.md our guidelines, agent rules and reply rules, which pi adds after the system prompt it generates (its list of tools and the rules of each extension)
extensions/preamble.ts changes the opening sentence of the system prompt and drops its documentation section, so the main prompt never names the agent harness
extensions/herdr-restore.ts labels a Herdr app terminal with the file of its pi session, so that a terminal that comes back after a reboot resumes that session
skills/ the skills that agents load for a kind of work, such as tdd, git-commit and create-pr
agents/ six subagents: dev implements one task under TDD, editor writes text that people read and runs ste-lint until it passes, review reads a diff and changes nothing, Explore and Plan search and plan and change nothing, research searches like Explore and saves one cited note in plans/research/
prompts/ three commands: /goal, /review-architecture and /watch-pr
pi-permissions.jsonc what an agent may run without asking, and what it may never run
settings.json runs greprip/greprip.sh before each agent shell command, so grep and find there use ripgrep and fd and skip ignored files. The terminal keeps the real ones. mise installs greprip
update-impeccable.sh updates the impeccable skill from upstream

Change it

The files are live, because ~/.dots points at this checkout. An edit applies at once for most tools, and at the next shell for zsh. git/hooks/commit-msg checks each commit message. The tests are in tests/, in the same layout as the files they test. Run bashunit from the root to run all of them.

This repository is public and shared. Keep secrets and machine-specific values out of it.

About

Let's get our home organized

Resources

Readme
Activity

Stars

18 stars

Watchers

2 watching

Forks

14 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.