A minimal, fast bash configuration with modern tools and modular structure.
Run the installation script to get everything configured:
~/code/dotfiles/install_sschuez.shThis will:
- Install modern bash via Homebrew
- Set up all configuration symlinks
- Change your default shell to bash
- Install essential tools
- Backup your existing configurations
- Bash: Modern bash (5.x) with Unicode support
- Modular structure: Separate files for aliases, functions, prompt, etc.
- Smart prompt: Minimal design with directory info in terminal title
- Enhanced tools: eza, bat, fzf, ripgrep, zoxide for better CLI experience
- Alacritty: Terminal emulator with custom themes and fonts
- Tmux: Terminal multiplexer with vim-style navigation
- AeroSpace: Tiling window manager with workspace automation
- Git: Custom aliases and workflow shortcuts
- Neovim: Text editor configuration (if present)
- Theme management: Switch terminal themes with
themecommand - Font management: Change fonts and sizes with
font/fontsizecommands - Smart directory navigation:
cdcommand enhanced with zoxide - Unified aliases: All shortcuts in one modular location
- API keys: Preserved in secure
api_keysfile - Project shortcuts: Quick navigation to common directories
dotfiles/
├── bashrc # Main bash configuration
├── bash/ # Modular bash components
│ ├── aliases # All command shortcuts
│ ├── envs # Environment variables
│ ├── functions # Custom bash functions
│ ├── prompt # Prompt configuration
│ ├── shell # Shell settings & completion
│ ├── init # Initialization scripts
│ └── inputrc # Readline configuration
├── alacritty/ # Terminal emulator config
├── tmux/ # Terminal multiplexer config
├── aerospace/ # Tiling window manager config
├── themes/ # Color themes for terminal
├── scripts/ # Utility scripts
└── api_keys # Secure API key storage
- Ruby/Node.js/Python: via
mise(unified version manager) - Fallback:
nvm,pyenvif mise not available - Package managers: Homebrew, Bundle, npm/yarn
themeorth- Change color themefontorft- Change font familyfontsizeorfs- Change font sizefs+/fs-- Increase/decrease font size
Codex CLI uses codex/dotfiles.tmTheme, which the install script links into
~/.codex/themes. Run /theme in Codex and select dotfiles once. The theme
names terminal palette colors instead of RGB values, so a theme switch
recolors running Codex sessions, text already on screen included. The codex
alias sets FORCE_COLOR=1: in 16-color mode Codex draws its own UI with
palette colors too, so light/dark switches also apply live. The cost is the
shaded composer and prompt fills, the tinted diff lines and a reverse-video
selection. To keep FORCE_COLOR out of the commands Codex runs, add this to
~/.codex/config.toml:
[shell_environment_policy.filters]
FORCE_COLOR = "exclude"
g- gitgcm- git commit -mgac- git add all & commitgacp- git add all, commit & push
dcu- Docker compose up with logsdcb- Docker compose buildkl- Kamal logsbe- Bundle execwt new <name>/wt rm <name>- Worktree with its own ports, Docker project and databases (see below)
proj- Go to ~/code/projectssub- Go to submissio projectdot- Go to dotfiles../.../....- Go up directories
Alt + hjkl- Focus window (left/down/up/right)Alt + Shift + hjkl- Move windowAlt + 1-9, a-z- Switch to workspaceAlt + Shift + 1-9, a-z- Move window to workspaceAlt + f- Toggle fullscreenAlt + Tab- Switch between recent workspacesAlt + /- Toggle layout (tiles/accordion)Alt + Shift + ;- Enter service mode (config reload, reset layout)
To reinstall all Homebrew packages from the saved list:
~/code/dotfiles/scripts/install_brews.shYour previous configurations are automatically backed up during installation to:
~/code/dotfiles/backup/YYYYMMDD_HHMMSS/
- Add personal aliases to
bash/aliases - Add environment variables to
bash/envs - Store API keys in
api_keys - Customize prompt in
bash/prompt
Enjoy your fast, minimal bash setup! 🚀
If migrating from rbenv to mise for Ruby version management:
-
Configure mise for Ruby idiomatic files:
mise settings add idiomatic_version_file_enable_tools ruby
-
Install required Ruby versions:
mise install ruby@3.4.1 # or whatever version your projects need -
For each project with existing bundles:
rm -rf vendor/bundle # Remove gems compiled with rbenv bundle install # Reinstall with mise's Ruby
-
Optional cleanup (removes rbenv completely):
brew uninstall rbenv rm -rf ~/.rbenv
The dotfiles already handle mise as the primary version manager with automatic fallback to individual tools.
scripts/wt creates git worktrees that get their own ports, Docker project and
databases, and removes all of it again. It needs no per-repo setup. It is the
same script as in omarchy-dotfiles, so both machines behave alike.
wt new feature-auth # create (branches from the current branch)
wt rm feature-auth # tear down and remove (refuses if there are uncommitted changes; --force overrides)
wt ls # list, with slot numbersClaude Code uses it too: scripts/worktree-create-hook.sh and
scripts/worktree-cleanup-hook.sh (the WorktreeCreate / WorktreeRemove hooks
in ~/.claude/settings.json) just call wt hook create|remove. So
claude --worktree <name> gets the same setup, and removing the worktree at the
exit prompt cleans everything up.
What a worktree gets. It lives inside the repo, in
<repo>/.claude/worktrees/<name> (where Claude Code puts its own; a repo that
does not gitignore that folder gets it in .git/info/exclude), on branch
worktree-<name>, with a slot number (1, 2, ...). Its .env
(copied from the main checkout, if any) gets:
| Variable | Value |
|---|---|
COMPOSE_PROJECT_NAME |
<repo>_<name>: own containers, volumes, images |
<X>_PORT |
default + slot, for every ${<X>_PORT:-default} in the compose file (APP_PORT 3000 -> 3001) |
PORT |
3000 + slot, for dev servers run without Docker |
POSTGRES_DB, POSTGRES_TEST_DB |
<project>_development / _test, if config/database.yml reads them |
Gitignored files are copied per the repo's .worktreeinclude (.gitignore
syntax, the same file Claude Code uses), defaulting to .env,
config/master.key and config/credentials/*.key.
Removal runs docker compose down for that project (with volumes and
images), drops host Postgres databases named <project>_*, stops servers still
running from the worktree, removes it, and deletes the branch only if merged.
Making a repo worktree-ready only needs parameterized compose ports:
ports:
- "${APP_PORT:-3000}:3000"For anything unusual, an executable bin/worktree-setup / bin/worktree-teardown
in the repo runs inside the worktree (with WORKTREE_NAME, WORKTREE_DIR,
MAIN_DIR, WORKTREE_SLOT). scripts/docker-orphans.sh still finds Docker
resources whose worktree is gone, for worktrees deleted by other means.