zsh-git-prompt icon indicating copy to clipboard operation
zsh-git-prompt copied to clipboard

ZSH_THEME_GIT_PROMPT_CACHE

Open cig0 opened this issue 8 years ago • 2 comments

Hi,

Define the variable ZSH_THEME_GIT_PROMPT_CACHE in order to enable caching.

What would be the correct way to define it?

cig0 avatar Nov 14 '17 22:11 cig0

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

MathPlayer avatar Feb 05 '18 10:02 MathPlayer

Just run export ZSH_THEME_GIT_PROMPT_CACHE=yes

Joorem avatar Jul 04 '18 17:07 Joorem