git clone https://github.com/WeiTang114/MyDotfiles.git ~/MyDotfiles
cd ~/MyDotfilesThis script works on macOS and Ubuntu/Debian.
./install.shIt will automatically:
- Install dependencies (Zsh, Starship, Zoxide, Eza, Bat, Fzf, Tmux, Ripgrep, Fd, Vim).
- Install Oh My Zsh and plugins.
- Link configuration files.
Open a new terminal session to enjoy your new setup!
This setup requires a Nerd Font to render icons correctly (e.g., in the prompt and status bar). The installer will try to install Hack Nerd Font for you on macOS.
Important: You must manually configure your terminal to use this font:
- Terminal.app: Preferences -> Profiles -> Text -> Font -> Change -> Select "Hack Nerd Font Mono"
- iTerm2: Preferences -> Profiles -> Text -> Font -> Select "Hack Nerd Font Mono"
If you want to update your tools or reset your configuration:
Run the install script again. It is safe to run multiple times.
./install.shIf Vim is acting up, you can reinstall all plugins:
# Reinstall Plugins
vim +PlugInstall +qall
# Reinstall Coc Extensions
vim +"CocInstall -sync coc-pyright coc-json coc-html coc-css coc-sh coc-clangd" +qall