summaryrefslogtreecommitdiff
path: root/gitstatus
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-19 21:20:39 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-19 21:20:39 +0300
commit072fc38ebe71b7fbaa4cde3009889d63f80218ef (patch)
tree3d0d518e844700a4bc777e85635c2529cefb3733 /gitstatus
parent646a826440235307ba358fd83ff2eb2eadd71b80 (diff)
parent00cfdb48a8c74150814792e4deccff2a1ce91ad0 (diff)
Merge commit '00cfdb48a8c74150814792e4deccff2a1ce91ad0'
Diffstat (limited to 'gitstatus')
-rw-r--r--gitstatus/gitstatus.plugin.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index 1fe219e9..fc4ca172 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -356,6 +356,9 @@ function _gitstatus_process_response"${1:-}"() {
function _gitstatus_daemon"${1:-}"() {
local -i pipe_fd
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]
[[ $pgid == <1-> ]] || return
builtin cd -q / || return