Shell prompts
Performance compared
-
- Measure how long it takes for your zsh prompt to render
-
- Benchmark for interactive Zsh, from the p10k author
powerlevel10k
- GitHub
- Last release 2024-01, last commit 2025-04
- Focussed on speed,
- see also the zsh-bench prompt comparism table
which compares git-branch,
agnoster,
starship and
powerlevel10k
- see also the zsh-bench prompt comparism table
which compares git-branch,
agnoster,
starship and
Configure
- Config:
~/.p10k.zsh
Config wizard:
p10k configure
- Available segments
Starship
Install:
sudo snap install starship
Recommended Fonts needs to get
installed in ~/.local/share/fonts
Config file: ~/.config/starship.toml
(~/snap/starship/current/.config/starship.toml for snap)
Debug config:
STARSHIP_LOG=debug starship prompt
or even:
STARSHIP_LOG=trace starship prompt
Couldn't find a way to easily build a custom segment
Spaceship
- Website and docs
- Github
- Shell
- v4 introduced asynchronous rendering