My configurations repository for the Starship shell.
- A Nerd Font
- i.e. FiraCode Nerd Font
- Starship
- Linux:
curl -sS https://starship.rs/install.sh | sh
- Windows:
winget
:winget install Starship.Starship
scoop
:scoop install starship
chocolatey
:choco install starship
- Linux:
After installing Starship, you need to initialize it with your shell.
- Linux:
- Add this to
~/.bashrc
:
- Add this to
eval "$(starship init bash)"
- Windows:
- Add this to your
$PROFILE
(you can edit your profile easily withnotepad.exe $PROFILE
):
- Add this to your
Invoke-Expression (&starship init powershell)
Choose a Starship configuration and symlink it to $HOME/.config/starship.toml
.
Linux
## Replace _default.toml with any config you want to use in the ./configs path
ln -s /path/to/this/repo/configs/_default.toml $HOME/.config/starship.toml
Windows
New-Item -Path C:\Users\$env:USERNAME\.config\starship.toml -ItemType SymbolicLink -Target .\configs\_default.toml ## Choose any .toml file in the configs/ path
...