diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-08-06 14:05:17 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-08-06 14:05:17 +0300 |
commit | fb1e7a689c35537c169a796c718569a82d472b02 (patch) | |
tree | c76b36553ab049ff1556c52a53df2e5896803379 /gitstatus | |
parent | ad14a651657cfdd5a7a63ab9f4ee1e4b32466e97 (diff) |
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus')
-rwxr-xr-x | gitstatus/bin/gitstatusd-freebsd-amd64 | bin | 3252072 -> 3258248 bytes | |||
-rw-r--r-- | gitstatus/gitstatus.plugin.zsh | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/gitstatus/bin/gitstatusd-freebsd-amd64 b/gitstatus/bin/gitstatusd-freebsd-amd64 Binary files differindex 20d77a41..7a39061a 100755 --- a/gitstatus/bin/gitstatusd-freebsd-amd64 +++ b/gitstatus/bin/gitstatusd-freebsd-amd64 diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh index ce227f60..e897128b 100644 --- a/gitstatus/gitstatus.plugin.zsh +++ b/gitstatus/gitstatus.plugin.zsh @@ -359,7 +359,7 @@ function gitstatus_start() { echo -nE $'bye\x1f0\x1e'" local setsid=${commands[setsid]:-/usr/local/opt/util-linux/bin/setsid} [[ -f $setsid ]] && setsid=${(q)setsid} || setsid= - cmd="$setsid zsh -dfxc ${(q)cmd} &!" + cmd="cd /; $setsid zsh -dfxc ${(q)cmd} &!" # We use `zsh -c` instead of plain {} or () to work around bugs in zplug. It hangs on startup. # Double fork is to daemonize. Some macOS users had issues when gitstatusd was a child process # of the interactive zsh. For example, https://github.com/romkatv/powerlevel10k/issues/123 |