aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-02-22 20:10:21 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-02-22 20:10:21 +0300
commit0c606eb9e920ed96d1a4a4a0d29364163569f5ca (patch)
treeb975822f0407cc0f076f7916059c8d1fa4ad3ecf
parented16e4e481d0accf7d47bbfa52bf0cf1705815c7 (diff)
use the same cygwin binary on all versions of windows
-rw-r--r--internal/p10k.zsh6
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 5e02a69f..a67a5091 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -7166,7 +7166,7 @@ _p9k_must_init() {
[[ $sig == $_p9k__param_sig ]] && return 1
_p9k_deinit
fi
- _p9k__param_pat=$'v55\1'${ZSH_VERSION}$'\1'${ZSH_PATCHLEVEL}$'\1'
+ _p9k__param_pat=$'v56\1'${ZSH_VERSION}$'\1'${ZSH_PATCHLEVEL}$'\1'
_p9k__param_pat+=$'${#parameters[(I)POWERLEVEL9K_*]}\1${(%):-%n%#}\1$GITSTATUS_LOG_LEVEL\1'
_p9k__param_pat+=$'$GITSTATUS_ENABLE_LOGGING\1$GITSTATUS_DAEMON\1$GITSTATUS_NUM_THREADS\1'
_p9k__param_pat+=$'$DEFAULT_USER\1${ZLE_RPROMPT_INDENT:-1}\1$P9K_SSH\1$__p9k_ksh_arrays'
@@ -7412,8 +7412,10 @@ _p9k_init_vcs() {
daemon=$gitstatus_dir/bin/gitstatusd-
if [[ $_p9k_uname_o == Android ]]; then
daemon+=android
- elif [[ ${(L)_p9k_uname} == (mingw|msys)* ]]; then
+ elif [[ $_p9k_uname == (#i)(mingw|msys)* ]]; then
daemon+=msys_nt-10.0
+ elif [[ $_p9k_uname == (#i)cygwin_nt* ]]; then
+ daemon+=cygwin_nt-10.0
else
daemon+=${_p9k_uname:l}
fi