A comprehensive terminal environment setup for macOS, featuring iTerm2, Zsh with Oh-My-Zsh, Powerlevel10k theme, Neovim, and Tmux.
This repository contains my personal dotfiles and configuration scripts for creating a powerful and visually appealing development environment. It's designed for macOS users who want a fully-featured terminal setup with minimal manual configuration.
- iTerm2 with custom color scheme (Coolnight)
- Zsh shell with Oh-My-Zsh framework
- Powerlevel10k theme for a customizable prompt
- Neovim setup for advanced text editing
- Tmux configuration for terminal multiplexing
Follow these steps to set up the environment on your macOS system:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew install iterm2 zsh tmux neovimsh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"git clone https://github.com/dotfiles/dotfiles.git
cd dotfiles- Open iTerm2
- Go to Preferences > Profiles > Colors
- Import the
coolnight.itermcolorsfile - Go to Preferences > Profiles > Text
- Import the
iTerm2 config.itermexportfile
cp .zshrc ~/.zshrc
cp .p10k.zsh ~/.p10k.zshgit clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10kEnsure the ZSH_THEME is set to "powerlevel10k/powerlevel10k" in your ~/.zshrc
mkdir -p ~/.config/nvim
cp -R nvim/* ~/.config/nvim/Install a plugin manager like vim-plug and run :PlugInstall in Neovim.
cp tmux/.tmux.conf ~/.tmux.confClose and reopen your terminal or run:
source ~/.zshrcFor the best experience with Powerlevel10k, install a Nerd Font:
brew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-fontThen, set this font in iTerm2 (Preferences > Profiles > Text > Font).
Check the init.vim or init.lua file in the nvim directory for the list of plugins and their configurations. You may need to install additional language servers or tools depending on your development needs.
Feel free to explore and modify the configuration files to suit your preferences. The beauty of dotfiles is in their personalization!
- If you encounter any issues with Powerlevel10k glyphs, ensure you've set up a Nerd Font correctly in iTerm2.
- For Neovim plugin issues, try running
:checkhealthwithin Neovim for diagnostics. - If Tmux key bindings aren't working, make sure iTerm2 is configured to treat Option key as Esc+.
Contributions to improve these dotfiles are welcome! Please feel free to submit pull requests or open issues for suggestions and bug reports.
This project is licensed under the Apache-2.0 License - see the LICENSE file for details.