Prerequisites :
starship.toml :
- use the configuration file . Inspired Christian Lempa.
- On windows terminal settings , change the font to an nerd font.
- change color theme, u can use Christian Lempa colors. Just the
Schemes
part.
I am using vs code to edit the below files.
Powershell :
- Open
code $PROFILE
and set this :
$ENV:STARSHIP_CONFIG = "__PATH__\starship.toml"
$ENV:STARSHIP_DISTRO = " __NAME__ "
Invoke-Expression (&starship init powershell)
cmd : you will need to use Clink download and install latest release.
- open
%LocalAppData%\clink\starship.lua
and add
os.setenv('STARSHIP_CONFIG', '__PATH__\\starship.toml')
os.setenv('STARSHIP_DISTRO', ' __NAME__ ')
load(io.popen('starship init cmd'):read("*a"))()
bash (LINUX) :
- open
code ~/.bashrc
and add at the bottom
export STARSHIP_CONFIG="__PATH__/starship.toml"
export STARSHIP_DISTRO=" __NAME__ "
eval "$(starship init bash)"