starship config with custom modules
- Prerequisites
A Nerd Font installed and enabled in your terminal (the example uses JetBrains Mono Nerd Font)
- Setup starship
git clone https://github.com/ttys3/starship-config
cd starship-config
make install
# custom module helper tools installation
# os-icon.linux_amd64 is for Linux amd64
# select the correct binary for your os here: https://github.com/ttys3/starship-config/releases/tag/v0.2.0
sudo curl -fL https://github.com/ttys3/starship-config/releases/download/v0.2.0/os-icon.linux_amd64 -o /usr/local/bin/os-icon
# Make the binary executable:
sudo chmod a+x /usr/local/bin/os-icon
- Config zsh to use starship prompt
just add eval "$(starship init zsh)"
to your ~/.zshrc
file