aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-03-01 21:11:29 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-03-01 21:11:29 +0300
commit3122bec34ba49ca64207e65063cdcb806d701cef (patch)
tree04d840d5e4dff375555253ca83447945f2269f3b /powerlevel9k.zsh-theme
parent4c8f483cb5f4f9c0566fa9fe211819e7f8cf7f28 (diff)
comment
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 2 insertions, 0 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index a5a98a5b..a79444cf 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -135,6 +135,8 @@ if [[ $POWERLEVEL9K_USE_CACHE == true ]]; then
# Note that an attempt to retrieve the value right away won't succeed. All requested
# cache update get batched and flushed together after a prompt is built.
_p9k_cache_set() {
+ # Uncomment to see cache misses.
+ # echo "cache: ${(qq)1} => ${(qq)2}" >&2
echo -E "_p9k_cache_data+=(${(qq)1} ${(qq)2})" >>$_P9K_CACHE_CHANNEL
_P9K_RETVAL=$2
}