● starship
starship is a minimal, fast, and customizable prompt for any shell. It's written in Rust and provides informative prompts while staying extremely fast. starship works with fish, bash, zsh, and other shells.
Installation
brew install starship
Setup
Add to your shell configuration:
For fish:
starship init fish | source
For bash:
eval "$(starship init bash)"
For zsh:
eval "$(starship init zsh)"
Configuration
Configuration lives in ~/.config/starship.toml. The file is reloaded automatically when saved.
For detailed configuration options, see starship Configuration.
Modules
starship uses modular components for different information types. For module-specific configuration, see starship Modules.
Performance
starship is designed for speed:
- Executes in milliseconds
- Only renders relevant information
- Caches module results
- Parallel module execution
Custom Presets
starship includes built-in presets:
# Apply a preset
starship preset gruvbox-rainbow -o ~/.config/starship.toml
# Available presets
starship preset pastel-powerline -o ~/.config/starship.toml
starship preset nerd-font -o ~/.config/starship.toml
starship preset no-nerd-font -o ~/.config/starship.toml
starship provides a beautiful, fast, and customizable prompt that works across different shells and environments, making it an excellent choice for developers who want informative prompts without sacrificing performance.
Resources
- Official Website - Main starship website with documentation
- GitHub Repository - Source code and development
- Configuration Guide - Complete configuration reference
- Presets - Community-submitted configurations
- Advanced Configuration - Advanced customization options
- Links to
- fish · starship Configuration · starship Modules
- Linked from
- starship Configuration · starship Modules · fish Configuration · fish