Starship Shell
Starship is a minimal, blazing fast, and infinitely customizable prompt for any shell. Starship brings the best-in-class speed and safety of Rust, to make your prompt as quick and reliable as possible, while giving you the tools and options to fully customize it to your liking.
Install a Nerdfont
To experience Starship in its full glory, you first need to install a Nerdfont
for your terminal. For example, download the CaskaydiaMono Nerd Font
, which is like Cascadia Code
but without any ligatures:
Download the
zip
package:user:~$ cd /tmp && wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/CascadiaMono.zip
Create a new directory:
user:/tmp$ mkdir cascadia-mono
Unzip the package into the
cascadia-mono
directory:user:/tmp$ unzip CascadiaMono.zip -d cascadia-mono
Move the
cascadia-mono
directory to the right location:user:/tmp$ mv cascadia-mono ~/.local/share/fonts
Run fc-cache to update the font cache:
user:/tmp$ fc-cache -v
Launch your terminal application and set the
CaskaydiaMono Nerd Font
as your default terminal font.
Install Starship Shell
Now that you have set a Nerdfont as your default terminal font, installing Starship Shell is a piece of cake. All you need to do is run the following command:
user:/tmp$ curl -sS https://starship.rs/install.sh | sh
To activate it you should add the following line in your .bashrc
file:
eval "$(starship init bash)"
However, the dotfiles in this repository automate this step for you.
Configure Starhsip Shell
To configure Starship Shell to your liking you need to create a starship.toml
file inside the
.config
directory:
user:/tmp$ mkdir -p ~/.config && touch ~/.config/starship.toml
Then, you can follow the Starship Shell docs to configure your
prompt. This repository offers a starship.toml
file that can serve as a starting point.