aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-11-07 08:50:06 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-11-07 08:50:06 +0300
commit274c50883ad9af1c9d4b3bb1b3ce4df68946dee8 (patch)
tree3047139641e3d7263faffa75872dca337e4c18a1 /internal/p10k.zsh
parente67c2fa9f71f1140174708f0dc2b51d5571aa38f (diff)
drop windows version number from the output of uname on mingw
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 6c7836f5..de2c815a 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -5478,7 +5478,7 @@ _p9k_init_vcs() {
daemon=$gitstatus_dir/bin/gitstatusd-
if [[ $_p9k_uname_o == Android ]]; then
daemon+=android
- elif [[ $_p9k_uname == (MINGW_64-10.0|MSYS_NT-10.0-*) ]]; then
+ elif [[ $_p9k_uname == (MINGW_64-10.0|MSYS_NT-10.0)* ]]; then
daemon+=msys_nt-10.0
else
daemon+=${_p9k_uname:l}