Install Starship and then add starship.toml
to $HOME/.config/
and reload your terminal
Example (behind white rectangle is name of actual K8s cluster):
Installation if you do not want to read Starship documentation:
#Install
curl -sS https://starship.rs/install.sh | sudo sh #Linux
brew install starship #MacOS
# This install starship for actual user, if you want to install for sudo switch to it
# with sudo su; and install it:
./install_bash.sh #bash - Linux
./install_zsh.sh #zsh - MacOS