mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-25 00:21:58 +00:00
support msys
This commit is contained in:
parent
47017e948e
commit
5d74fa39c8
1 changed files with 7 additions and 1 deletions
|
@ -5234,7 +5234,13 @@ _p9k_init_vcs() {
|
||||||
local daemon=${GITSTATUS_DAEMON}
|
local daemon=${GITSTATUS_DAEMON}
|
||||||
if [[ -z $daemon ]]; then
|
if [[ -z $daemon ]]; then
|
||||||
daemon=$gitstatus_dir/bin/gitstatusd-
|
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}
|
daemon+=-${_p9k_uname_m:l}
|
||||||
fi
|
fi
|
||||||
local -i threads=${GITSTATUS_NUM_THREADS:-0}
|
local -i threads=${GITSTATUS_NUM_THREADS:-0}
|
||||||
|
|
Loading…
Reference in a new issue