Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZSH_THEME_GIT_PROMPT_CACHE #110

Open
cig0 opened this issue Nov 14, 2017 · 2 comments
Open

ZSH_THEME_GIT_PROMPT_CACHE #110

cig0 opened this issue Nov 14, 2017 · 2 comments

Comments

@cig0
Copy link

cig0 commented Nov 14, 2017

Hi,

Define the variable ZSH_THEME_GIT_PROMPT_CACHE in order to enable caching.

What would be the correct way to define it?

@MathPlayer
Copy link

Looking through the code, it looks like the variable should be a non-empty string for a working prompt cache.

if [ -n "$__EXECUTED_GIT_COMMAND" ] || [ ! -n "$ZSH_THEME_GIT_PROMPT_CACHE" ]; then

@Joorem
Copy link

Joorem commented Jul 4, 2018

Just run export ZSH_THEME_GIT_PROMPT_CACHE=yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants