Shell prompts¶
Performance compared¶
-
- Measure how long it takes for your zsh prompt to render
-
- Benchmark for interactive Zsh, from the p10k author
ohmyposh¶
- Website
- Golang
- Performance discussion
- Custom segments
need to get written in Golang, no easy shell command segment
- command segment was removed
powerlevel10k¶
- GitHub
- Maintenance mode, last release 2024-01
- 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
- Default prompt framework used by Manjaro (
manjaro-zsh-configpackage)
Configure¶
- Config:
~/.p10k.zsh
Config wizard:
- Available segments
Starship¶
Install:
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:
or even:
Couldn't find a way to easily build a custom segment
Spaceship¶
- Website and docs
- Github
- Shell
- v4 introduced asynchronous rendering
Other¶
- Powerline: Slow!
- zinc