A zsh plugin to manage the Starship prompt, along with providing a default powerline like theme.
Using the ⚡ Zap minimal zsh plugin manager, add the following to your .zshrc
# Install plugin
plug "wintermi/zsh-starship"
A check will be performed to verify that starship
has been installed:
starship
- The minimal, blazing-fast, and infinitely customizable prompt for any shell!
This plugin installs its own powerline theme and will default to this unless you override via one of the following two options.
- Setting the
STARSHIP_CONFIG
environment variable to the location of your custom Starship theme configuration file. - Custom Starship theme configuration file can be found at
$HOME/.config/starship.toml
.
As shown in the below examples:
# Example override of the STARSHIP_CONFIG environment variable
export STARSHIP_CONFIG="$HOME/custom_config.toml"
plug "wintermi/zsh-starship"
# Custom configuration file has been created using the default STARSHIP
# location of "$HOME/.config/starship.toml"
plug "wintermi/zsh-starship"
The zsh-starship plugin is released under the Apache License 2.0 unless explicitly mentioned in the file header.