my Starship config
-
Clone the repository
git clone https://github.com/Socketlike/starship-config
-
Replace
Makefile
's CXX variable with your C++ compiler of choice. Default isclang++
. -
Execute
make curved
ormake powerline
ormake 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
.
- 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
.
No.
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