mirror of
https://github.com/romkatv/powerlevel10k
synced 2025-01-03 03:42:03 +00:00
Squashed 'gitstatus/' changes from e26996460..f1cf61b24
f1cf61b24 work around a bug in IP-guard git-subtree-dir: gitstatus git-subtree-split: f1cf61b241a2a34514a8ff5f71dfb79a99d85c7c
This commit is contained in:
parent
e2447322e0
commit
e181bc0653
@ -458,7 +458,7 @@ function _gitstatus_daemon"${1:-}"() {
|
||||
(( lock_fd == -1 )) && return
|
||||
|
||||
{
|
||||
if zsystem flock -- $file_prefix.lock && [[ -e $file_prefix.lock ]]; then
|
||||
if zsystem flock -- $file_prefix.lock && command sleep 5 && [[ -e $file_prefix.lock ]]; then
|
||||
zf_rm -f -- $file_prefix.lock $file_prefix.fifo
|
||||
kill -- -$pgid
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user