summaryrefslogtreecommitdiff
path: root/gitstatus
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-06-06 13:12:18 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-06-06 13:12:18 +0300
commit66b331c251140a80e0938b3e9e992bf2734256c5 (patch)
treeb445552f7c61c379851c05e2c70b935dacffe28d /gitstatus
parent02b86416ec5fa07589fac5427f21e1d281a2aec1 (diff)
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus')
-rw-r--r--gitstatus/gitstatus.plugin.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index 4809cb7a..ecb47db8 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -275,7 +275,8 @@ function gitstatus_start() {
setopt xtrace
}
- local os && { [[ $(uname -o) == Android ]] && os=Android || os=$(uname -s) } && [[ -n $os ]]
+ local os && os=$(uname -s) && [[ -n $os ]]
+ [[ $os != Linux || $(uname -o) != Android ]] || os=Android
local arch && arch=$(uname -m) && [[ -n $arch ]]
local daemon=${GITSTATUS_DAEMON:-$dir/bin/gitstatusd-${os:l}-${arch:l}}