mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-17 02:00:07 +00:00
pull upstream changes from gitstatus
This commit is contained in:
parent
ad14a65165
commit
fb1e7a689c
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue