aboutsummaryrefslogtreecommitdiff
path: root/gitstatus.plugin.zsh
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
commit00cfdb48a8c74150814792e4deccff2a1ce91ad0 (patch)
tree3801512761af6fc3240905ad506e3d83745eb0e2 /gitstatus.plugin.zsh
parentf3ae4032c1923404afc9fd8b6af2bf28bc406d61 (diff)
Squashed 'gitstatus/' changes from c99d28aa..78a2ec25
78a2ec25 close p10k instant prompt descriptors in daemon git-subtree-dir: gitstatus git-subtree-split: 78a2ec251e99ffa48ea10bbb48ab54ba6401701c
Diffstat (limited to 'gitstatus.plugin.zsh')
-rw-r--r--gitstatus.plugin.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitstatus.plugin.zsh b/gitstatus.plugin.zsh
index 1fe219e9..fc4ca172 100644
--- a/gitstatus.plugin.zsh
+++ b/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