x-theme
Change terminal command line prompt theme. Globally manage the display style of all x-cmd interactive components. Supports multiple theme vendors: theme, starship, ohmyposh. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-19
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- x-theme
- license
- Apache-2.0
- metadata
- { "tags": [ "x-cmd", "theme", "prompt", "shell", "customization" ], "author": "Li Junhao", "version": "1.0.0", "category": "x-cmd-extension" }
- description
- Change terminal command line prompt theme. Globally manage the display style of all x-cmd interactive components. Supports multiple theme vendors: theme, starship, ohmyposh. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.
- compatibility
- POSIX Shell
03 SKILL.md 正文
x theme - Terminal Theme Manager
Change terminal command line prompt theme and manage display styles.
Quick Start
# Open interactive theme preview
x theme
# List available themes
x theme ls
# Use a theme
x theme use robby
Features
- Interactive Preview: Visual theme selection with
--app - Multiple Vendors: Supports theme, starship, ohmyposh
- Feature Management: Enable/disable transient mode, emoji, symbols
- Font Integration: Install fonts for better theme rendering
- Shell Support: bash, zsh, fish, PowerShell
Commands
| Command | Description |
|---|---|
x theme |
Open interactive theme preview (default) |
x theme --app |
Open theme preview client |
x theme ls |
List all themes |
x theme ls --info |
List current environment theme info |
x theme use <name> |
Use theme globally |
x theme unuse |
Unset theme |
x theme try <name> |
Try theme in current session |
x theme untry |
Cancel try mode |
x theme current |
Show current theme |
x theme update |
Update theme resources |
x theme font |
Install fonts |
x theme feature use <feature> |
Enable feature globally |
x theme feature try <feature> |
Try feature in current session |
Theme Vendors
| Vendor | Description |
|---|---|
theme |
x-cmd built-in themes (el, ide, mini, l series) |
starship |
Starship.rs cross-shell prompt |
ohmyposh |
Oh-My-Posh prompt theme engine |
Examples
Basic Usage
# Open interactive theme selector
x theme
# Use a theme globally
x theme use robby
# Use random theme
x theme use random
# Use random from specific themes
x theme use random "ys,ya,vitesse"
Try Before Apply
# Try theme in current session only
x theme try robby
# Cancel try
x theme untry
Feature Management
# Enable transient mode globally
x theme feature use transient_enable always
# Disable transient mode
x theme feature use transient_enable never
# Try emoji feature
x theme feature try emoji -t festival
Vendor-Specific Themes
# Use starship theme via x theme
x theme use --vendor starship gruvbox-rainbow
# Use ohmyposh theme via x theme
x theme use --vendor ohmyposh montys
Available Features
| Feature | Description |
|---|---|
transient_enable |
Simplify prompt after command execution |
transient_cwd |
Show cwd in transient mode |
transient_time |
Show execution time in transient mode |
emoji |
Enable emoji in prompt |
symbol |
Use symbols in prompt |
zshplugin |
Load zsh plugins |
Theme Series
| Series | Description |
|---|---|
el |
Elegant line themes |
ide |
IDE-style themes |
mini |
Minimal themes |
l |
Lightweight themes |
Related
- x starship - Starship prompt module
- x ohmyposh - Oh-My-Posh module
- x font - Font installation module
04 同仓库更多 Skills
vercel-react-view-transitions
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
terraform-patterns
Implement — Terraform infrastructure-as-code agent skill and plugin for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw. Covers module design patterns, state management strategies, provider c
self-eval
Implement — Honestly evaluate AI work quality using a two-axis scoring system. Use after completing a task, code review, or work session to get an unbiased assessment. Detects score inflation,
helm-chart-builder
Implement — Helm chart development agent skill and plugin for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw — chart scaffolding, values design, template patterns, dependency management, sec
docker-development
Implement — Docker and container development agent skill and plugin for Dockerfile optimization, docker-compose orchestration, multi-stage builds, and container security hardening. Use when: u