- Install starship
sudo pacman -S starship
- Add the following to your shell configuration file
eval "$(starship init bash)"
Warning
If you are using different shell then read the docs for that shell. read docs
- Restart your shell & done.
~/.bashrc
- if you haven't clone the repo yet, clone it.
git clone https://github.com/sujit-shrc/dotfiles.git
else simply copy the starship config's.
cp dotfiles/starship/ ~/.config/
- Update the shell configs to use the new starship config.
sudo nano ~/.bashrc
# add the following line
export STARSHIP_CONFIG=~/.config/starship/starship.toml
- Restart your shell & done.
~/.bashrc