Skip to content

Socketlike/starship-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

starship-config

my Starship config

Requirements

Installation for Linux

  • Clone the repository

    git clone https://github.com/Socketlike/starship-config
  • Replace Makefile's CXX variable with your C++ compiler of choice. Default is clang++.

  • Execute make curved or make powerline or make sharp

  • Edit your shell's rc script and set the STARSHIP_CONFIG variable to $HOME/.config/starship/std.toml or
    $HOME/.config/starship/fast.toml.

Installation for Windows (untested)

  • Clone the repository
  • Open a PowerShell window. Navigate to the cloned repository folder.
  • Execute .\build.ps1 curved or .\build.ps1 powerline or .\build.ps1 sharp.
  • Edit the STARSHIP_CONFIG environment variable to point to %USERPROFILE%/starship/std.toml.

Installation for MacOS

No.

Miscellaneous

You should disable Starship for TTYs if you're on Linux by replacing

eval "$(starship init bash)"

with

if [ -n "$DISPLAY" ] || [ -n "$WAYLAND_DISPLAY" ]; then
  eval "$(starship init bash)"
fi