Common issues and solutions.
Problem: permission denied when running setup
Solution:
chmod +x install/setup.sh
./install/setup.shProblem: Installation fails because config files exist
Solution: Use force mode (creates backup first)
make install-forceBackups are saved to ~/.dotfiles-backup-{timestamp}/
Problem: Configs contain {{ user.name }} after installation
Solution: Create config.json from template
cp config.json.example config.json
# Edit config.json with your details
make installProblem: Shell takes >1s to start
Diagnosis:
# Benchmark startup time
./bin/shell-bench
# Profile zsh startup (shows what's slow)
time zsh -i -c exitSolutions:
- Disable unused modules:
export DOTFILES_SKIP_WORKFLOW=1 - Check for network-dependent operations
- Review
.zshrcfor heavy operations
Problem: Commands like eza, bat not found
Solution: Install modern CLI tools
make packagesProblem: Tab completion fails or shows warnings
Solution: Rebuild completion cache
rm -f ~/.zcompdump*
exec zshProblem: Git configuration not working
Solution: Verify config was generated from template
# Check if config exists
cat config/git/gitconfig | head -5
# If it shows {{ placeholders }}, regenerate
make installProblem: Git diff not using delta
Solution: Ensure delta is installed and configured
which delta
git config --get core.pager # Should show 'delta'Problem: tmux not available
Solution:
# macOS
brew install tmux
# Ubuntu/Debian
sudo apt install tmuxProblem: Neovim shows errors when opening
Solution: Update plugin manager
nvim --headless "+Lazy! sync" +qaProblem: Language runtime manager not available
Solution:
curl https://mise.run | shProblem: Can't write to /usr/local
Solution: Use Homebrew's recommended directory
# Apple Silicon (M1/M2)
# Homebrew installs to /opt/homebrew
# Intel
# Homebrew installs to /usr/localProblem: bash still loads instead of zsh
Solution:
chsh -s $(which zsh)
# Logout and login againProblem: Shell slow on Windows Subsystem for Linux
Solution: Keep dotfiles in Linux filesystem
# Move to ~/ instead of /mnt/c/
cd ~
git clone https://github.com/vnykmshr/dotfiles.git .dotfilesProblem: Need to undo dotfiles installation
Solution:
# List backups
ls -la ~ | grep dotfiles-backup
# Manually restore (replace {timestamp})
cp -r ~/.dotfiles-backup-{timestamp}/.zshrc ~/.zshrc
# Repeat for other filesProblem: Something's broken, need fresh start
Solution:
# Backup and reinstall everything
make reset
# Or manual cleanup
rm -rf ~/.dotfiles
rm ~/.zshrc ~/.gitconfig ~/.tmux.conf
# Then reinstallIf issues persist:
- Check logs: Installation creates logs in
/tmp/ - Run tests:
make testto verify setup - Dry run:
make install-dry-runto see what would change - Open an issue: Include OS, shell version, error messages