1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-12 08:10:07 +00:00

make it work when CLOBBER is unset

This commit is contained in:
romkatv 2019-03-04 01:20:56 +01:00
parent 8f1dcdca84
commit 9e75070a88

View file

@ -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
}