No description
  • PowerShell 99.3%
  • Shell 0.7%
Find a file
Jack 784a3ac473
Merge pull request #5 from redjax/dev
Fix starship powershell profile init line search/add
2025-01-03 20:49:42 -05:00
configs Add starship config profiles 2025-01-01 21:49:09 -05:00
scripts Fix starship powershell profile init line search/add 2025-01-03 20:49:18 -05:00
.gitignore Initial commit 2025-01-01 21:49:00 -05:00
README.md Initial commit 2025-01-01 21:49:00 -05:00

Starship Configuration

GitHub Created At GitHub last commit GitHub commits this year GitHub repo size

My configurations repository for the Starship shell.

Requirements

  • A 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

Setup

After installing Starship, you need to initialize it with your shell.

  • Linux:
    • Add this to ~/.bashrc:
eval "$(starship init bash)"
  • Windows:
    • Add this to your $PROFILE (you can edit your profile easily with notepad.exe $PROFILE):
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

...