zsh · tmux · vim · starship – fast, few moving parts, one Gruvbox look. macOS first (Homebrew), Debian/Ubuntu/WSL second (apt). Sibling of dotfiles-windows: same tools, aliases and key bindings.
git clone https://github.com/edxleon/dotfiles.git ~/dotfiles # any path works
cd ~/dotfiles
./install.sh
exec zshOptions: --no-packages (links + plugins only), --no-plugins, --no-chsh, --no-terminal.
- macOS: packages from
./Brewfile(Homebrew must already be installed). - Linux: packages via apt; starship falls back to its release binary, verified against its sha256.
- Configs are symlinks into this repo, so
git pulltakes effect on the next shell start. - Existing files are moved to
~/.dotfiles-backup/<timestamp>/, never deleted. Rerunning is safe.
install.sh also sets up Terminal.app:
- makes sure JetBrainsMono Nerd Font is active (macOS sometimes ignores fonts dropped into
~/Library/Fontsuntil the font service rescans), - imports the Gruvbox profile (
macos/terminal/Gruvbox.terminal) and makes it the default: same palette as tmux/starship/vim, Nerd Font 14 pt, "Use Option as Meta key" on (Alt shortcuts), no bell, line spacing 0.95 so the rounded tmux pills line up at the top (Terminal draws them from the font and adds leading above each line; 1.0 leaves a step, 0.9 overshoots).
Change the profile in macos/terminal/make-profile.js, bump PROFILE_VERSION, run
osascript -l JavaScript macos/terminal/make-profile.js, then ./install.sh --no-packages:
it notices the new version, imports it and replaces the old profile (open windows switch over).
Other terminals (iTerm2, WezTerm, …): pick a Gruvbox Dark theme and the Nerd Font there.
| Repo | Linked to |
|---|---|
zsh/zshrc |
~/.zshrc |
tmux/tmux.conf |
~/.config/tmux/tmux.conf |
vim/vimrc |
~/.vimrc |
starship/starship.toml |
~/.config/starship.toml |
macos/terminal/Gruvbox.terminal |
imported into Terminal.app (macOS) |
Untracked, machine-specific overrides: ~/.zshrc.local, ~/.vimrc.local, ~/.config/tmux/local.conf.
- Built-ins before plugins. No zsh framework, no tmux plugins, 4 vim plugins.
Vim 9.1 brings comments (
gc), auto-clearing search highlight and a Gruvbox-like colour scheme (retrobox). - Fast startup. Cached completion (full check once a day), one process per tool init, starship with only the modules in use and a 300 ms command timeout.
- AI-safe. When
CLAUDECODEis set (Claude Code),.zshrcstops after PATH/EDITOR, so agents get a plain shell withoutmv -iorcat=batsurprises.
| Tool | Purpose |
|---|---|
| starship | prompt |
| fzf | Ctrl+T files · Ctrl+R history · Alt+C cd |
| zoxide | z <part-of-path> |
| eza · bat | ls with icons + git · cat with highlighting |
| ripgrep · fd | fast grep · fast find |
| zsh-autosuggestions · zsh-syntax-highlighting | suggestions as you type · command colouring |
| Key | Action |
|---|---|
↑ / ↓ |
history search by what you've typed |
Tab |
completion menu |
→ / Ctrl+F |
accept suggestion / accept one word |
| Command | Does |
|---|---|
ll, lt |
long list with git status / tree (3 levels) |
.., ..., .... |
go up |
mkcd dir, up 3 |
create + enter / go up n levels |
gs, glog, gpull, gpush, gco, gcb, g |
git |
dps, dex, dlogs, dimg, dprune |
docker (if installed) |
ports |
listening ports |
update |
brew update && upgrade / apt update && upgrade |
mv, cp and ln ask before overwriting.
Prefix is Ctrl+Space. No plugins.
Look: transparent status bar with rounded Gruvbox "pills" (Nerd Font caps U+E0B6/U+E0B4):
session (orange, turns yellow while the prefix is pressed), active window (yellow), time and host.
Inactive windows are plain grey text. Popups get rounded borders.
Starts automatically: every terminal window attaches to the session main
(tmux new -A -s main), so windows and panes survive closing the terminal.
prefix d detaches and closes the window; the session keeps running.
Not started inside tmux, in VS Code/JetBrains terminals, over SSH, for zsh -c, or for AI agents.
Turn it off on a machine with export NO_TMUX_AUTOSTART=1 in ~/.zshenv.
| Key | Action |
|---|---|
prefix v / prefix h |
split side by side / stacked, in the current directory (| and - also work) |
Alt+h/j/k/l |
move between panes – and vim splits (without Meta: prefix + arrow keys) |
Ctrl+Alt+h/j/k/l |
resize pane, no prefix – hold to keep resizing |
prefix H/J/K/L |
resize pane by 5 – repeat without prefix: prefix H H H (also: drag the border with the mouse) |
Alt+1…9 |
select window |
prefix Enter |
copy mode: v select, y copy to system clipboard |
prefix m |
toggle mouse |
prefix r / prefix e |
reload config / edit local.conf |
Leader is ,. Plugins: fzf.vim, vim-tmux-navigator, fugitive (via vim-plug).
| Key | Action |
|---|---|
,f / ,b / ,r |
fzf: files / buffers / ripgrep |
,e |
file tree (built-in netrw) |
,w |
save |
gcc / gc + motion |
toggle comment |
:Git |
fugitive |
,ev ,et ,ez |
edit vimrc / tmux.conf / zshrc |
The 2017–2020 version (fish, oh-my-zsh, i3, YouCompleteMe) is in the git history. 2026 rewrite: fish → zsh, oh-my-zsh → two plain plugins, 17 vim plugins → 4 plus built-ins, 5 tmux plugins → none, Tokyo Night → Gruvbox, neovim dropped (Vim 9.1 ships with macOS and Debian).