1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-12 00:00:07 +00:00

drop windows version number from the output of uname on mingw

This commit is contained in:
romkatv 2019-11-07 06:50:06 +01:00
parent e67c2fa9f7
commit 274c50883a

View file

@ -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}