Become a member

Get the best offers and updates relating to Liberty Case News.

― Advertisement ―

spot_img
HomeTechStarship

Starship

Add the init script to your shell’s config file:

Bash

Add the following to the end of ~/.bashrc:

Fish

Add the following to the end of ~/.config/fish/config.fish:

Zsh

Add the following to the end of ~/.zshrc:

Powershell

Add the following to the end of Microsoft.PowerShell_profile.ps1. You can check the location of this file by querying the $PROFILE variable in PowerShell. Typically the path is ~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 or ~/.config/powershell/Microsoft.PowerShell_profile.ps1 on -Nix.

Ion

Add the following to the end of ~/.config/ion/initrc:

Elvish

WARNING

Only elvish v0.18 or higher is supported.

Add the following to the end of ~/.elvish/rc.elv:

Tcsh

Add the following to the end of ~/.tcshrc:

Nushell

WARNING

This will change in the future. Only Nushell v0.96+ is supported.

Add the following to the end of your Nushell configuration (find it by running $nu.config-path in Nushell):

Xonsh

Add the following to the end of ~/.xonshrc:

Cmd

You need to use Clink (v1.2.30+) with Cmd. Add the following to a file starship.lua and place this file in Clink scripts directory:

Source link