This repository contains my personal configuration for Starship.
I love Starship because it is incredibly fast and shows me exactly what I need to know without cluttering my screen.
Important
Because this configuration relies heavily on icons, you need a terminal font that supports them. If you don't use a Nerd Font, you will see weird boxes () instead of cool icons.
I recommend using JetBrainsMono Nerd Font.
I wrote a simple script to set this up for you.
-
Clone this repository:
git clone git@github.com:ImadSaddik/MyStarshipConfig.git cd MyStarshipConfig -
Run the installer:
chmod +x install.sh ./install.sh
If you prefer to move the files yourself:
-
Install Starship:
curl -sS https://starship.rs/install.sh | sh -
Copy the config file:
mkdir -p ~/.config cp starship.toml ~/.config/starship.toml
-
Add the init script to your shell config (like
.bashrcor.zshrc):For
bash, add this to~/.bashrc:eval "$(starship init bash)"
For
zsh, add this to~/.zshrc:eval "$(starship init zsh)"
For
fish, add this to~/.config/fish/config.fish:starship init fish | source
For other shells, please check the official documentation.