Personal development environment setup for macOS with Ghostty, TMUX, and Zsh (Powerlevel10k)
- Ghostty Terminal - Modern GPU-accelerated terminal
- TMUX - Persistent terminal sessions with custom keybindings
- Zsh + Oh My Zsh - Enhanced shell experience
- Powerlevel10k - Beautiful and fast prompt theme
- Optimized for macOS - Keyboard shortcuts that don't conflict with system
dotfiles/
├── ghostty/
│ ├── config # Ghostty configuration
│ └── start-session.sh # TMUX session auto-start script
├── tmux/
│ └── .tmux.conf # TMUX configuration
├── zsh/
│ └── .zshrc # Zsh configuration
├── install.sh # Automated installation script
└── README.md # This file
git clone https://github.com/YOUR_USERNAME/dotfiles.git ~/dotfiles
cd ~/dotfiles
chmod +x install.sh
./install.shIf you prefer to install manually:
-
Install Homebrew (if not installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Install TMUX:
brew install tmux
-
Install Ghostty:
- Download from ghostty.org
-
Install Oh My Zsh:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" -
Install Powerlevel10k:
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k -
Install Zsh plugins:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
-
Copy config files:
cp tmux/.tmux.conf ~/.tmux.conf cp zsh/.zshrc ~/.zshrc mkdir -p ~/.config/ghostty cp ghostty/config ~/.config/ghostty/config cp ghostty/start-session.sh ~/.config/ghostty/start-session.sh chmod +x ~/.config/ghostty/start-session.sh
-
Restart your terminal or run:
source ~/.zshrc
| Shortcut | Action |
|---|---|
Ctrl+a then Tab |
Next window |
Ctrl+a then Shift+Tab |
Previous window |
Ctrl+a then 0-9 |
Jump to window number |
Ctrl+a then n |
New window |
Ctrl+a then q |
Close window |
| Shortcut | Action |
|---|---|
Ctrl+a then | |
Split vertically |
Ctrl+a then - |
Split horizontally |
Ctrl+a then x |
Close pane |
Alt+Arrows |
Navigate panes (no prefix!) |
| Shortcut | Action |
|---|---|
Ctrl+a then r |
Reload TMUX config |
Ctrl+a then [ |
Scroll mode (press q to exit) |
Edit ghostty/start-session.sh to customize your workspace layout:
# Example: Add a new window
$TMUX_BIN new-window -t main:5 -n "My Project" -c ~/Projects/my-projectEdit ghostty/config to change the theme:
theme = Laser # Change this
background-opacity = 0.8
background-blur-radius = 30
Add your custom aliases in zsh/.zshrc at the bottom:
alias myalias='my command'Make sure the startup script is executable:
chmod +x ~/.config/ghostty/start-session.shRun the configuration wizard:
p10k configureEnsure your terminal is set to use true color:
echo $TERM # Should be "tmux-256color" inside TMUXFeel free to fork and customize for your own needs!
MIT License - Feel free to use and modify as you like.
- Ghostty - Terminal emulator
- TMUX - Terminal multiplexer
- Oh My Zsh - Zsh framework
- Powerlevel10k - Zsh theme
Made with ❤️ by vb