starship-init

Print shell integration code for starship.

TLDR

Display the subcommand help

$ starship init --help
copy


Print the starship integration code for the specified shell
$ starship init [bash|elvish|fish|ion|powershell|tcsh|zsh]
copy


Append the starship integration code to ~/.bashrc
$ starship init [bash] >> [~/.bashrc]
copy


Append the starship integration code to ~/.zshrc
$ starship init [zsh] >> [~/.zshrc]
copy

Copied to clipboard