This commit is contained in:
Nachuan Tang
2023-12-29 19:34:35 +08:00
parent 4c07c4c6a5
commit a311601aea
7 changed files with 31 additions and 34 deletions
+7
View File
@@ -16,6 +16,13 @@
let g:isWSL = 0
if has("win64") || has("win32") || has("win16")
let g:os = "Windows"
set updatetime=50
if executable('pwsh')
" prefer to use powershell 7
set shell=pwsh
else
set shell=powershell
endif
else
let g:os = substitute(system('uname'), '\n', '', '')
if system('uname -r') =~ "icrosoft"