drop windows version number from the output of uname on mingw

pull/328/head
romkatv 5 years ago
parent e67c2fa9f7
commit 274c50883a

@ -5478,7 +5478,7 @@ _p9k_init_vcs() {
daemon=$gitstatus_dir/bin/gitstatusd- daemon=$gitstatus_dir/bin/gitstatusd-
if [[ $_p9k_uname_o == Android ]]; then if [[ $_p9k_uname_o == Android ]]; then
daemon+=android 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 daemon+=msys_nt-10.0
else else
daemon+=${_p9k_uname:l} daemon+=${_p9k_uname:l}

Loading…
Cancel
Save