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

support msys

This commit is contained in:
romkatv 2019-11-04 19:43:07 +01:00
parent 47017e948e
commit 5d74fa39c8

View file

@ -5234,7 +5234,13 @@ _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}
if [[ $_p9k_uname_o == Android ]]; then
daemon+=android
elif [[ $_p9k_uname == MSYS_NT-10.0-* ]]; then
daemon+=msys_nt-10.0
else
daemon+=${_p9k_uname:l}
fi
daemon+=-${_p9k_uname_m:l}
fi
local -i threads=${GITSTATUS_NUM_THREADS:-0}