Starship
Starship
is the shell prompt I use
WARNING
Starship has integration for tools like node
and git
. This is good aesthetically but will make the terminal slow on lower-end devices or large repos!!!
WARNING
Starship uses libgit2
for integration with git
, and will not work if a custom version of git
is required.
Prerequisites
Install
bash
cargo install starship
Then use dotbin
to configure it
bash
dotbin-cfg starship
TIP
dotbin-cfg starship -h
to see custom config options
Shell
- Windows:
- Open the PowerShell profilepowershell
vipwsh
- Add the followingpowershell
# Starship Invoke-Expression (&starship init powershell)
- Open the PowerShell profile
- Linux:
- Add the following to
~/.bashrc
bash# Starship eval "$(starship init bash)"
- Add the following to
INFO
Restart the terminal and you should see the starship prompt.
Windows Defender
Run as admin and add the following to the Windows Defender exclusions for faster startup
powershell
Add-MpPreference -ExclusionProcess starship