Squashed 'gitstatus/' changes from 78a2ec25..063ed450

063ed450 Revert "close p10k instant prompt descriptors in daemon"

git-subtree-dir: gitstatus
git-subtree-split: 063ed45083386c98ab4d10f08794bec2a0c534d1
pull/778/head
romkatv 5 years ago
parent 00cfdb48a8
commit 8cfe934f15

@ -356,9 +356,6 @@ function _gitstatus_process_response"${1:-}"() {
function _gitstatus_daemon"${1:-}"() { function _gitstatus_daemon"${1:-}"() {
local -i pipe_fd local -i pipe_fd
exec 0<&- {pipe_fd}>&1 1>>$daemon_log 2>&1 || return exec 0<&- {pipe_fd}>&1 1>>$daemon_log 2>&1 || return
(( __p9k_fd_0 )) && exec {__p9k_fd_0}>&-
(( __p9k_fd_1 )) && exec {__p9k_fd_1}>&-
(( __p9k_fd_2 )) && exec {__p9k_fd_2}>&-
local pgid=$sysparams[pid] local pgid=$sysparams[pid]
[[ $pgid == <1-> ]] || return [[ $pgid == <1-> ]] || return
builtin cd -q / || return builtin cd -q / || return

Loading…
Cancel
Save