Starship - A cross-shell prompt

2020/12/06 by Paulo Pereira

~/categories/Linux #Linux #Arch Linux #Starship

Starship is a minimal, blazing-fast, and infinitely customizable prompt for any shell.

You can see different options for the installation in the Starship site.

In my case, in Arch Linux:

paru starship-bin

After installing starship you need to tell you shell to use it.

In my case I’m using zsh and added the following to my .zshrc file:

# starship shell
eval "$(starship init zsh)"

You can add customizations by creating a ~/.config/starship.toml file.

This is what I have until the moment. Check the configuration guide for more options

# Don't print a new line at the start of the prompt
add_newline = false

# Single line prompt
[line_break]
disabled = true