Portable dotfiles and development environment for daily macOS and Linux use.
git clone git@github.com:coconutruben/environment.git ~/environment
~/environment/install.sh- Symlinks
.tmux.conf,.vimrcto~/(backs up existing) - Symlinks Neovim config to
~/.config/nvim/init.lua - Symlinks Ghostty config (macOS only)
- Adds
source ~/environment/.bashrcto~/.bashrc - Sets up
~/.claude/(CLAUDE.md, settings.json, rules, skills) - Sets up
~/.codex/(config.toml symlink, generated AGENTS.md) - Detects local vs remote machine context
brew install bash bash-completion@2
echo "/opt/homebrew/bin/bash" | sudo tee -a /etc/shells
chsh -s /opt/homebrew/bin/bash
curl -o /opt/homebrew/etc/bash_completion.d/git-completion.bash \
https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bashSee BASH.md for detailed bash setup and hostname configuration.
.bashrc # Shell config (macOS + Linux)
.tmux.conf # tmux (prefix C-a, mouse, vi-mode, Tokyo Night status)
.vimrc # vim (2-space tabs, line numbers, split nav)
nvim/init.lua # Neovim Lua IDE entrypoint
ghostty/config # Ghostty terminal (macOS only, Tokyo Night)
bash_profile.template # Reference template for ~/.bash_profile
install.sh # Cross-platform installer
AGENTS.md # Shared agent preferences (base layer)
CLAUDE.md # Claude Code shim importing AGENTS.md
claude_settings.json # Claude Code permissions
codex_config.toml # Codex CLI defaults
docker/Dockerfile # Docker image for autonomous Claude Code
git-template/ # Git hooks for worktree-local agent symlinks
script/ # Scripts added to PATH
claude-setup-dotfiles # Symlink CLAUDE.local.md, AGENTS.local.md, .claude/
claude-container # Run Claude Code in Docker with skip-permissions
codex-code # Run host Codex with BFL overlay available
skills/ # Claude Code slash commands
worktree/ # /worktree — create git worktrees
sync/ # /sync — rsync worktree to cluster
This repo is the base layer. environment_bfl (private) adds BFL-specific overlay:
- SSH config for cluster login nodes
- BFL scripts (sync_worktree, fetch_gb200)
- Project-specific Claude Code rules and skills
Run environment/install.sh first, then environment_bfl/install.sh.