diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-10-03 15:51:01 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-10-03 15:51:01 +0300 |
commit | aa79dad7e30fff087ef5b87b58c650a0769a5192 (patch) | |
tree | 1dc33a097b2b01e8ed4af32cd8922e40cd4715fe /gitstatus | |
parent | aa606e6cb0cb6ae852cca343fbffe72ed8015a1c (diff) |
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus')
-rw-r--r-- | gitstatus/gitstatus.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh index 4b0ee043..9473d2f5 100644 --- a/gitstatus/gitstatus.plugin.zsh +++ b/gitstatus/gitstatus.plugin.zsh @@ -528,5 +528,5 @@ function gitstatus_check() { [[ -n ${(P)${:-GITSTATUS_DAEMON_PID_${1}}} ]] } -setopt ${_gitstatus_opts[@]} +(( ${#_gitstatus_opts} )) && setopt ${_gitstatus_opts[@]} 'builtin' 'unset' '_gitstatus_opts' |