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 curvedormake powerlineormake sharp -
Edit your shell's rc script and set the
STARSHIP_CONFIGvariable to$HOME/.config/starship/std.tomlor
$HOME/.config/starship/fast.toml.
- Clone the repository
- Open a PowerShell window. Navigate to the cloned repository folder.
- Execute
.\build.ps1 curvedor.\build.ps1 powerlineor.\build.ps1 sharp. - Edit the
STARSHIP_CONFIGenvironment 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