A zsh plugin to manage the Oh My Posh prompt theme engine, 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-oh-my-posh"
A check will be performed to verify that oh-my-posh
has been installed:
oh-my-posh
- A prompt theme engine for any shell.
This plugin installs its own powerline theme and will default to this unless you override via setting the POSH_THEME
environment variable to the location of your custom Oh My Posh theme configuration file.
As shown in the below examples:
# Example override of the POSH_THEME environment variable
export POSH_THEME="$HOME/custom_config.toml"
plug "wintermi/zsh-oh-my-posh"
The zsh-oh-my-posh plugin is released under the Apache License 2.0 unless explicitly mentioned in the file header.