Spaceship is a fast, minimal, and extensible Zsh prompt that shows context-aware information without clutter. It exposes “sections” for common developer signals—current directory, Git status, package versions, language runtimes, Docker/Kubernetes context, exit status, and time—then renders only what’s relevant. Configuration is done almost entirely through environment variables, letting you reorder, hide, or customize sections without writing functions. It supports asynchronous segments to keep the prompt snappy even when querying VCS or runtime tools. Since it’s just a theme, it integrates with existing Zsh plugin managers and plays well with syntax highlighting and autosuggestions. Many teams standardize on Spaceship to keep shell environments consistent across machines while allowing personal tweaks. Despite its breadth of integrations, the default look remains clean and readable, optimized for both light and dark terminals.
Features
- Display of repository status (Git or Mercurial), showing current branch, clean/dirty state, ahead/behind and other indicators
- Show runtime or environment info for programming languages: Node.js, Python, Rust, Ruby, Swift, Go, PHP, etc.
- Display of package manager version info (npm, cargo, composer, etc.)
- Showing Docker version, Kubernetes context, connected machine where applicable
- Display battery level / status of the machine
- Indicator for background jobs (e.g. a symbol when jobs are running) plus ability for custom segments/info