Starship

Starship is the minimal, blazing-fast, and infinitely customizable prompt for any shell!


_images/starship.png

Note

For this guide you should be familiar with the basic concepts of

License

Starship is free software, available under the permissive ISC License, whcih is functionally equivalent to BSD 2-Clause and MIT licenses, removing some language that is no longer necessary.

Prerequisites

A Nerd Font installed and enabled in your terminal on your computer (for example, try the FiraCode Nerd Font that can be downloaded from NerdFonts).

Instructions for installing fonts depend on your local operating systems: Windows 10, macOS. For Linux: read the manual that belongs to your distribution. Blink.sh should work out of the box.

Installation

[isabell@stardust ~]$ cargo install starship
[...]
[isabell@stardust ~]$ eval "$(starship init bash)"
isabell on stardust in ~
>

To make the prompt permanent, add one line to your .bashrc:

isabell on stardust in ~
> echo -e '\n' >> .bashrc
isabell on stardust in ~
> echo 'eval "$(starship init bash)"' >> .bashrc
isabell on stardust in ~
>

That’s it, you have successfully installed Starship to your Uberspace console:

[isabell@localhost ~]$ ssh <username>@<username>.uber.space
Welcome to Uberspace7!
[...]
isabell on stardust in ~
>

Tested with Starship v0.44.0 and Uberspace version 7.7.7.0

Written by: Michi <https://github.com/michi-zuri/>