diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-05-19 21:20:21 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-05-19 21:20:21 +0300 |
commit | 646a826440235307ba358fd83ff2eb2eadd71b80 (patch) | |
tree | fe47946ca68c47b76df4d0c5d4b6b05378d0d3cd /internal | |
parent | fb9bc2d3f57273b11151eaa9c8655146bc7b0c5b (diff) |
close instant prompt descriptors in worker
Diffstat (limited to 'internal')
-rw-r--r-- | internal/worker.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/worker.zsh b/internal/worker.zsh index 9e78bc15..aa82e9f5 100644 --- a/internal/worker.zsh +++ b/internal/worker.zsh @@ -182,6 +182,9 @@ function _p9k_worker_start() { sysopen -r -o cloexec -u _p9k__worker_resp_fd <( exec 0</dev/null + (( __p9k_fd_0 )) && exec {__p9k_fd_0}>&- + (( __p9k_fd_1 )) && exec {__p9k_fd_1}>&- + (( __p9k_fd_2 )) && exec {__p9k_fd_2}>&- if [[ -n $_POWERLEVEL9K_WORKER_LOG_LEVEL ]]; then exec 2>$_p9k__worker_file_prefix.log setopt xtrace |