mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 08:20:10 +00:00
don't zcompile state dump when root
This commit is contained in:
@@ -3379,7 +3379,9 @@ function _p9k_dump_state() {
|
||||
exec {fd}>&-
|
||||
}
|
||||
zf_mv -f $tmp $__p9k_dump_file || return
|
||||
if [[ ${(%):-%#} == % ]]; then
|
||||
zcompile $__p9k_dump_file || zf_rm -f $__p9k_dump_file.zwc
|
||||
fi
|
||||
}
|
||||
|
||||
function _p9k_restore_state() {
|
||||
|
||||
Reference in New Issue
Block a user