zsh-git-prompt
zsh-git-prompt copied to clipboard
ZSH_THEME_GIT_PROMPT_CACHE
Hi,
Define the variable ZSH_THEME_GIT_PROMPT_CACHE in order to enable caching.
What would be the correct way to define it?
Looking through the code, it looks like the variable should be a non-empty string for a working prompt cache. https://github.com/olivierverdier/zsh-git-prompt/blob/0a6c8b610e799040b612db8888945f502a2ddd9d/zshrc.sh#L33
Just run export ZSH_THEME_GIT_PROMPT_CACHE=yes