1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 13:30:07 +00:00

Revert "close instant prompt descriptors in worker"

This reverts commit 646a826440.
This commit is contained in:
romkatv 2020-05-20 07:06:38 +02:00
parent 8e86b0c8d4
commit 519de2c569

View file

@ -182,9 +182,6 @@ function _p9k_worker_start() {
sysopen -r -o cloexec -u _p9k__worker_resp_fd <( sysopen -r -o cloexec -u _p9k__worker_resp_fd <(
exec 0</dev/null 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 if [[ -n $_POWERLEVEL9K_WORKER_LOG_LEVEL ]]; then
exec 2>$_p9k__worker_file_prefix.log exec 2>$_p9k__worker_file_prefix.log
setopt xtrace setopt xtrace