My configuration for Starship, the minimal, blazing-fast, and infinitely customizable prompt for any shell!
This repository contains the configuration files for Starship, which I use for both fish and Nushell. This file is synchronized using this Git repository. The following instructions detail how to use and sync this repository.
Nerd Fonts are required for this configuration. I use the patched Noto fonts. Noto Sans is the default font used in Fedora Linux. Follow these steps to install the patched Noto fonts.
-
Create the
~/.local/share/fonts
directory.mkdir --parents ~/.local/share/fonts
-
Download the Noto fonts tarball.
curl --fail --location --remote-name https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/Noto.tar.xz
-
Extract the tarball’s contents to the fonts directory.
tar --directory ~/.local/share/fonts -xf Noto.tar.xz
-
Clean up the lingering tarball.
rm Noto.tar.xz
Install these settings with the following instructions.
-
Add the
starship
COPR repository to your system.curl -L https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora/atim-starship-fedora.repo \ | sudo tee /etc/yum.repos.d/atim-starship-fedora.repo
-
Install the
starship
package.sudo rpm-ostree install starship
-
Reboot to complete the installation.
sudo systemctl reboot
-
Clone this repository.
git -C ~/Projects clone git@github.com:jwillikers/starship-config.git
-
Copy the configuration file to the
~/.config/
directory.ln --relative --symbolic --force ~/Projects/starship-config/starship.toml ~/.config/
-
Follow the install instructions in the fish config repository and Nushell config repository to enable Starship. For other shells, refer to the Starship Installation instructions.
Please refer to the project’s Code of Conduct.