diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-11-04 21:43:07 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-11-04 21:43:07 +0300 |
commit | 5d74fa39c8c6a89c92a7a31bdc213600fe12a1f4 (patch) | |
tree | d445865467b93d0b3c414436bc860cd0c7365dae /internal/p10k.zsh | |
parent | 47017e948e0e86eb56b9982ee41be28c44a849e6 (diff) |
support msys
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 165e1eea..163b257c 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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} |