Home » Shell customization

Shell prompt customization, using Starship as a minimal, fast and customizable cross-shell.


Prerequisites

Install a Nerd Font and enable it in your terminal. For example, try:

Install

Windows

Install starship:

> winget install Starship.Starship

Launch it from <%USERPROFILE%>\Documents\PowerShell\Microsoft.PowerShell_profile.ps1:

Invoke-Expression (&starship init powershell)

Linux/WSL

The Bash shell does not support the right prompt, so ensure to use Zsh instead.

Install Starship

Install Starship:

$ sudo pacman -S starship

Launch it from ~/.zshrc:

eval "$(starship init zsh)"

Configure

Add the shell configuration in ~/.config/starship.toml.