LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

starship-init

Initialize Starship prompt for shells

TLDR

Initialize for bash
$ eval "$(starship init bash)"
copy
Initialize for zsh
$ eval "$(starship init zsh)"
copy
Initialize for fish
$ starship init fish | source
copy
Initialize for PowerShell
$ Invoke-Expression (&starship init powershell)
copy

SYNOPSIS

starship init shell

DESCRIPTION

starship init generates shell initialization for Starship prompt. Outputs script to be evaluated by shell. Add to shell config for persistent prompt customization.

PARAMETERS

bash

Bash shell.
zsh
Zsh shell.
fish
Fish shell.
powershell
PowerShell.
--print-full-init
Print full initialization script.

SEE ALSO

Copied to clipboard
Kai