1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-09-21 11:00:08 +00:00

Merge commit '8cfe934f157a69976f55a796b65d4ed0a0344719'

This commit is contained in:
romkatv 2020-05-20 07:07:00 +02:00
commit fb0dc597fa

View file

@ -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