Terminal Setup
The setup I actually use on macOS — iTerm2 running Zsh with Powerlevel10k, a tmux workflow, Neovim, and a handful of modern CLI tools. Everything below mirrors my dotfiles.
Prerequisites
- 1
Homebrew
Package manager for macOS — installs everything below (brew.sh)
- 2
iTerm2
Terminal emulator (brew install --cask iterm2)
- 3
Hack Nerd Font
Patched font so icons and glyphs render in the prompt
- 4
Zsh
Modern shell — pre-installed on macOS
- 5
Git
Version control system
Install Required Packages
Install the CLI tools, prompt, and shell plugins:
brew install \
powerlevel10k \
zsh-autosuggestions \
zsh-syntax-highlighting \
neovim \
tmux \
eza \
bat \
fd \
fzf \
ripgrep \
zoxide \
lazygit \
gh \
thefuck \
tldr \
treeInstall iTerm2 and the Nerd Font:
brew install --cask \
iterm2 \
font-hack-nerd-fontConfigure Zsh
Back up your existing .zshrc (if any):
[ -f ~/.zshrc ] && mv ~/.zshrc ~/.zshrc.backupCreate a new .zshrc and paste the configuration below:
nvim ~/.zshrcStyle the Powerlevel10k prompt with the interactive configurator (optional):
p10k configureConfigure tmux
Create the tmux config directory:
mkdir -p ~/.config/tmuxCreate the config file:
nvim ~/.config/tmux/tmux.conf.zshrc Configuration
tmux Configuration
Apply Configuration
Reload your shell (or use the reload-zsh alias):
source ~/.zshrcOr simply restart your terminal
Source Repository
krishna-paulraj/dotfiles
Full configuration files, the tmux modules, and updates