aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-10-11 18:39:57 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-10-11 18:39:57 +0300
commitd7b79a39d52a3ab45fde79f794708698a510d581 (patch)
tree03c14c39b2dfba2c72e302bbcf7f75bafbaa1598
parent765de21920cc485f29fa457da21f35c8fed72fb1 (diff)
bug fix: set correct gitstatusd path on android
-rw-r--r--internal/p10k.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 67316cc3..144f1a33 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -4458,7 +4458,7 @@ _p9k_must_init() {
'${ZSH_VERSION}' '${ZSH_PATCHLEVEL}' '${(%):-%n}' '${GITSTATUS_LOG_LEVEL}'
'${GITSTATUS_ENABLE_LOGGING}' '${GITSTATUS_DAEMON}' '${GITSTATUS_NUM_THREADS}'
'${DEFAULT_USER}' '${ZLE_RPROMPT_INDENT}' '${P9K_SSH}' '${__p9k_ksh_arrays}'
- '${__p9k_sh_glob}' '${parameters[transient_rprompt]}' 'v7')
+ '${__p9k_sh_glob}' '${parameters[transient_rprompt]}' 'v8')
IFS=$'\2' param_sig="${(e)param_sig}"
[[ $param_sig == $_p9k_param_sig ]] && return 1
[[ -n $_p9k_param_sig ]] && _p9k_deinit
@@ -4665,7 +4665,7 @@ _p9k_init_vcs() {
local daemon=${GITSTATUS_DAEMON}
if [[ -z $daemon ]]; then
daemon=$gitstatus_dir/bin/gitstatusd-
- [[ _p9k_uname_o == Android ]] && daemon+=android || daemon+=${_p9k_uname:l}
+ [[ $_p9k_uname_o == Android ]] && daemon+=android || daemon+=${_p9k_uname:l}
daemon+=-${_p9k_uname_m:l}
fi
local -i threads=${GITSTATUS_NUM_THREADS:-0}