HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

starship — The minimal, blazing-fast, and infinitely customizable prompt for any shell. Some subcommands such a

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandminimalstarshipandblazingclifast

Problem

How to use the starship command: The minimal, blazing-fast, and infinitely customizable prompt for any shell. Some subcommands such as init have their own usage documentation. More information: <https://starship.rs/>.

Solution

starship — The minimal, blazing-fast, and infinitely customizable prompt for any shell. Some subcommands such as init have their own usage documentation. More information: <https://starship.rs/>.

Print the starship integration code for the specified shell:
starship init {{bash|elvish|fish|ion|powershell|tcsh|zsh|nu|xonsh|cmd}}


Explain each part of the current prompt and show the time taken to render them:
starship explain


Print the computed starship configuration (use --default to print default configuration instead):
starship print-config


List supported modules:
starship module --list


Edit the starship configuration in the default editor:
starship config


Create a bug report GitHub issue pre-populated with information about the system and starship configuration:
starship bug-report


Print the completion script for the specified shell:
starship completions {{bash|elvish|fish|powershell|zsh}}


Display help for a subcommand:
starship {{subcommand}} --help

Code Snippets

Print the starship integration code for the specified shell

starship init {{bash|elvish|fish|ion|powershell|tcsh|zsh|nu|xonsh|cmd}}

Explain each part of the current prompt and show the time taken to render them

starship explain

Print the computed starship configuration (use `--default` to print default configuration instead)

starship print-config

List supported modules

starship module --list

Edit the starship configuration in the default editor

starship config

Context

tldr-pages: common/starship

Revisions (0)

No revisions yet.