summaryrefslogtreecommitdiff
path: root/gitstatus
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-04 14:22:59 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-04 14:22:59 +0300
commitb2c77eb37075d6bd97f7eb55db722ae83fefa202 (patch)
tree37aa381845201d2bf06259a4de3efe820b64646e /gitstatus
parent9b1353f112dd52d41a582c2ec7b60d03b3cbd6fc (diff)
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus')
-rw-r--r--gitstatus/gitstatus.plugin.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index 1010a386..190ac5cf 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -353,6 +353,7 @@ function _gitstatus_daemon() {
exec 0<&- 2>>$daemon_log || return
local pgid=$sysparams[pid]
[[ $pgid == <1-> ]] || return
+ cd / || return
{
{