aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-03-04 03:20:56 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-03-04 03:20:56 +0300
commit9e75070a887eb4edee1f08d70a36f9c214e2ad70 (patch)
tree230913a7c0390cd5ef15fc22db7fadd319c8a6c2
parent8f1dcdca849fb18567febf8c501b8c9ceb0f629b (diff)
make it work when CLOBBER is unset
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 35f3f099..8b1c2513 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -126,7 +126,7 @@ typeset -gH _P9K_CACHE_CHANNEL=${$(mktemp -u)%/*}/p9k_cache_channel.$$
_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
+ echo -E "_p9k_cache_data+=(${(qq)1} ${(qq)2})" >>!$_P9K_CACHE_CHANNEL
_P9K_RETVAL=$2
}