Check for cmd.com and command.com to check for windows system.
This commit is contained in:
parent
768dda0d94
commit
bc2f74b4f2
@ -117,7 +117,7 @@ fun s:GPGInit()
|
|||||||
" setup shell environment for unix and windows
|
" setup shell environment for unix and windows
|
||||||
let s:shellredirsave=&shellredir
|
let s:shellredirsave=&shellredir
|
||||||
let s:shellsave=&shell
|
let s:shellsave=&shell
|
||||||
if (match(&shell,"cmd.exe"))
|
if (match(&shell,"\\(cmd\\|command\\).exe") >= 0)
|
||||||
" windows specific settings
|
" windows specific settings
|
||||||
let s:shellredir = '>%s'
|
let s:shellredir = '>%s'
|
||||||
let s:shell = &shell
|
let s:shell = &shell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user