Skip to content
ecelustkaPublic

About

Ghostty, tmux and zsh for macOS

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

DOTS

Ghostty, tmux and zsh for macOS. Plain files and symlinks, no dotfiles manager, tmux prefix is ctrl+b.

Ghostty tmux zsh Catppuccin License

✨ Features

  • Ghostty draws, tmux manages. Ghostty attaches to tmux on launch. Tabs are tmux windows and splits are tmux panes.
  • macOS keys. cmd+t, cmd+d and cmd+1…9 drive tmux, so it feels like native tabs.
  • Popups. Renaming and killing windows open a small centered popup. Picking a window that does not exist shows a red one.
  • One theme. Catppuccin Macchiato in Ghostty, tmux, zsh highlighting, fzf, delta, bat, lazygit and glamour.
  • History with context. Atuin takes over ctrl+r and the up arrow.
  • Signed commits. SSH signing, with the name, email and key kept outside the repo.
  • Safe install. install.sh can run again. It skips correct links and backs up real files first.

📦 Requirements

Tool Used by
macOS, Homebrew everything
Ghostty, VictorMono Nerd Font terminal
tmux, tpm windows, panes, plugins
Oh My Zsh, oh-my-posh shell, prompt
zsh-autosuggestions, zsh-syntax-highlighting shell
fzf, ripgrep, Atuin file and history search
fnm, eza, bat Node versions, ls, cat
delta, lazygit, gh, glow git

The Brewfile installs all of them except Oh My Zsh, zsh-syntax-highlighting and tpm.

🚀 Install

git clone git@github.com:ecelustka/dots.git ~/dots
cd ~/dots

brew bundle
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended --keep-zshrc
git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.zsh/zsh-syntax-highlighting
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

./install.sh

Open tmux and press ctrl+b then I to install the tmux plugins.

Then create the machine-only files. They are not in the repo:

  • ~/.gitconfig.local holds the [user] name, email and signing key.
  • ~/.zshrc.local holds aliases and exports for one machine. It loads at the end of ~/.zshrc.

🗂️ Layout

install.sh        symlinks each file below to where its tool reads it
Brewfile          tools and the font
ghostty/config    ~/.config/ghostty/config
tmux/.tmux.conf   ~/.tmux.conf
tmux/scripts/     ~/.config/tmux/scripts, popups for rename, kill, goto window
zsh/              ~/.zshrc, prompt theme, syntax highlighting colors
git/              ~/.gitconfig, global ignore
delta/            ~/.config/delta, diff theme
lazygit/          ~/Library/Application Support/lazygit
gh/               ~/.config/gh/config.yml
atuin/            ~/.config/atuin
bat/              ~/.config/bat, config and theme
glamour/          ~/.config/glamour, markdown theme for gh and glow

⌨️ Keymaps

Ghostty (sends tmux keys)
Key Action
cmd+t new window
cmd+w kill pane (asks first)
cmd+1 – cmd+9 go to window
cmd+d cmd+shift+d split right / down
cmd+alt+h/j/k/l move between panes
cmd+shift+enter zoom pane
alt+left alt+right jump a word in the shell
cmd+p cmd+f cmd+e cmd+g … send ,p ,f ,e ,g … to Neovim
tmux (after ctrl+b)
Key Action
c % " new window / split right / down, in the current directory
h j k l move between panes
, $ rename window / session in a popup
x & kill pane / window, confirm in a popup
0 – 9 go to window, popup if it is missing
v y select / copy in copy mode (vi keys)
Shell
Alias Runs
vim nvim
lg lazygit
ls ll lt eza: list / long with git / tree
zshconfig tmuxconfig ghosttyconfig vimconfig open that config
myip public IP

🎨 Credits

Color themes for delta, bat, lazygit, glamour and zsh-syntax-highlighting come from Catppuccin.

📄 License

MIT

About

Ghostty, tmux and zsh for macOS

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages