Prompt Commands
Customize your Zsh prompt with colors, git status, execution time, and dynamic information. Use prompt themes or build your own with Zsh's powerful prompt expansion system.
10 commands
Pro Tips
Use '%F{cyan}%n@%m%f' for colored username@host. %F sets foreground color, %f resets it.
Add git info with 'vcs_info' module: 'autoload -Uz vcs_info && precmd() { vcs_info }' then use '${vcs_info_msg_0_}'.
Use RPROMPT for right-side info like execution time: 'RPROMPT="%F{yellow}%*%f"' shows the current time.
Common Mistakes
Complex prompts with git status checks on large repos can slow down every command. Use async prompts for heavy operations.
Consider using Starship or Powerlevel10k instead of manual prompt configuration — they handle edge cases and async loading.