summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
{
{