Themes - fab1o/pump-zsh GitHub Wiki
Pump-zsh
Pump-zsh provides lightweight, customizable themes for Zsh — including options for Oh My Zsh and Oh My Posh.
Available Themes
- Pump (Oh My Zsh)
- Pump Git Prompt (Oh My Zsh)
- Pump Hybrid (Oh My Zsh)
- Pump (Oh My Posh)
- Customize Your Own Theme
1. Pump (Oh My Zsh Theme)
To enable this theme:
-
Set the theme in your
~/.zshrc
:ZSH_THEME="pump"
-
Add
pump
to your list of plugins:plugins=(pump)
2. Pump Git Prompt (Oh My Zsh Theme)
To enable the pump theme with Git prompt enhancements:
-
Set the theme in your
~/.zshrc
:ZSH_THEME="pump-git-prompt"
-
Add
pump
andgit-prompt
to your list of plugins:plugins=(git-prompt pump)
3. Pump Hybrid (Oh My Zsh Theme)
To enable the pump theme with Git prompt enhancements:
-
Set the theme in your
~/.zshrc
:ZSH_THEME="pump-hybrid"
-
Add
pump
andgit-prompt
to your list of plugins:plugins=(git-prompt pump)
4. Pump (Oh My Posh Theme)
To use Pump with Oh My Posh:
-
Add the following to your
~/.zshrc
:if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then eval "$(oh-my-posh init zsh --config $ZSH/plugins/pump/pump.omp.json)" fi
-
Add
pump
to your plugins:plugins=(pump)
4. Customize Your Own Theme
Pump-zsh exports environment variables that can be used in your prompt customization:
CURRENT_PUMP_SHORT_NAME # indicates the current set project
PUMP_TIME_TOOK # time took to run last command
To build your own theme:
- Explore how Pump's built-in themes use these variables.
- Adapt the logic to fit your custom style or prompt framework.
Be sure to include pump
in your plugins list:
plugins=(pump)