Starship - A cross-shell prompt
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:
1paru 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:
1# starship shell
2eval "$(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
1# Don't print a new line at the start of the prompt
2add_newline = false
3
4# Single line prompt
5[line_break]
6disabled = true