This repository contains my configuration files and setup scripts for a macOS development environment using iTerm2 + Zsh + Oh My Zsh + Powerlevel10k + Claude Code, tailored for TypeScript / Node.js / React / React Native and Python engineers of the AI era.
- Fully declarative via Homebrew Bundle (
Brewfile) - Minimal manual setup steps
- iTerm2 + Zsh shell setup optimized for developer productivity
- Powerlevel10k prompt theme
- Essential Zsh plugins: autosuggestions, fast syntax-highlighting
- Support for both TS/Node/React stack and Python dev stack
- macOS (Zsh is default shell)
- Homebrew installed — this will install Xcode command line tools — see brew.sh
- Oh My Zsh installed — see ohmyzsh/ohmyzsh
Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk!
-
Clone this repo
git clone https://github.com/hefgi/dotfiles.git ~/dotfiles cd ~/dotfiles
-
Install everything via Brewfile
brew bundle --file=Brewfile
-
Symlink configuration files
ln -s ~/dotfiles/.zshrc ~/.zshrc ln -s ~/dotfiles/.gitconfig ~/.gitconfig ln -s ~/dotfiles/.vimrc ~/.vimrc ln -s ~/dotfiles/vscode/settings.json ~/Library/Application\ Support/Code/User/settings.json
-
Configure Git
git config --global user.name "Your Name" git config --global user.email "you@example.com"
-
Reload your shell
source ~/.zshrc
-
Configure Powerlevel10k
p10k configure
-
Install last stable Node Version
nvm install --lts nvm alias default 'lts/*
I use the Solarized Dark palette across tools for visual consistency.
Set Solarized Dark in:
- iTerm2 → Preferences → Profiles → Colors → Load Presets… → Solarized Dark
- VS Code: Install this package and select Solarized Dark
- Vim: Follow installation instruction here
- Sublime Text → Preferences → Color Scheme → Solarized Dark
- Xcode → Preferences → Fonts & Colors → Solarized Dark
Use nvm for Node.js version management and Use npm and/or yarn for package management.
Use pyenv to manage Python versions and use pipenv for virtual environments and dependencies.
Claude Code and Cursor installed by default.
Use VSCode and Cursor as main IDEs. Use Xcode for iOS Development.
Use Vim for terminal editing and Sublime Text for GUI editing.
git logx→ prints a pretty, colored Git log graph with recent 20 commits.git tree→ shows a nice history tree view of the repository - good terminal alternative to GitX GUIll→ quick shortcut forls -lato list all files in detail (useezainstead if installed).python→ always invokespython3(from Homebrew) so you don’t have to typepython3.pip→ always usespip3, so you install packages for Python 3 by default.
yazi– fast terminal file manager with previewsbat– moderncatreplacement with syntax highlighting, Git integrationfzf– fuzzy finder for files, history, Git brancheseza– modernlsreplacement (icons, Git status)z(orzoxide) – quickly jump between frequently used directoriesGitX– macOS GUI Git client for visual source-control management - good GUI alternative togit tree
Install everything via Brewfile
brew bundle --file=Brewfile-cool-tools- iTerm2 - Terminal
- Oh My Zsh – Zsh configuration framework
- Powerlevel10k – Zsh prompt theme
- Solarized Dark theme - Precision color palette
- Zsh plugin: zsh-autosuggestions, fast-syntax-highlighting
