mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-25 13:30:07 +00:00
avoid spurious error (even if harmless and invisible) on worker cleanup
This commit is contained in:
parent
ad18cd78db
commit
b3875f5193
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ function _p9k_worker_invoke() {
|
|||
}
|
||||
|
||||
function _p9k_worker_cleanup() {
|
||||
eval "$__p9k_intro"
|
||||
# langinfo may not be available here.
|
||||
eval "$__p9k_intro_no_locale"
|
||||
[[ $_p9k__worker_shell_pid == $sysparams[pid] ]] && _p9k_worker_stop
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue