mirror of
https://github.com/romkatv/powerlevel10k
synced 2024-12-22 22:12:40 +00:00
Squashed 'gitstatus/' changes from c99d28aa..78a2ec25
78a2ec25 close p10k instant prompt descriptors in daemon git-subtree-dir: gitstatus git-subtree-split: 78a2ec251e99ffa48ea10bbb48ab54ba6401701c
This commit is contained in:
parent
f3ae4032c1
commit
00cfdb48a8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user