If you encounter completion errors, try:
# Remove cached completions and regenerate
rm -f ~/.zcompdump*
compinitFor Sheldon plugin issues:
# Re-lock plugins
sheldon lock --updateSolution Reinstall iTerm2
Solution
# Using time
time zsh -i -c exit
# Detailed profiling
PS4='+%D{%s.%9.}:%N:%i>' zsh -xIf using Warp terminal, the built-in prompt is used automatically.
For other terminals, Starship is used as fallback:
# Check if starship is installed
starship --version
# If not, install it
brew install starship # macOS
# or
curl -sS https://starship.rs/install.sh | sh # Linux