Skip to content

Hadramet/starship-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Starship command line config

Prerequisites :

  • Install font provided by Nerd Font and enabled in your terminal.;
  • Install Starship.

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)"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published