No description
- PowerShell 99.3%
- Shell 0.7%
|
|
||
|---|---|---|
| configs | ||
| scripts | ||
| .gitignore | ||
| README.md | ||
Starship Configuration
My configurations repository for the Starship shell.
Requirements
- A Nerd Font
- i.e. FiraCode Nerd Font
- Starship
- Linux:
curl -sS https://starship.rs/install.sh | sh
- Windows:
winget:winget install Starship.Starshipscoop:scoop install starshipchocolatey:choco install starship
- Linux:
Setup
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)
Manual
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
Notes
...