Shell prompt customization, using Starship as a minimal, fast and customizable cross-shell.
Install a Nerd Font and enable it in your terminal. For example, try:
Install starship:
> winget install Starship.Starship
Launch it from <%USERPROFILE%>\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
:
Invoke-Expression (&starship init powershell)
The Bash shell does not support the right prompt, so ensure to use Zsh instead.
Install Starship:
$ sudo pacman -S starship
Launch it from ~/.zshrc
:
eval "$(starship init zsh)"
Add the shell configuration in ~/.config/starship.toml
.