Use has("unix") to determine between windows and unix.

This commit is contained in:
Markus Braun 2008-10-15 11:43:54 +00:00
parent 478aeb9196
commit 12ac7f9f03

View File

@ -197,7 +197,7 @@ function s:GPGInit()
" setup shell environment for unix and windows
let s:shellredirsave = &shellredir
let s:shellsave = &shell
if (match(&shell,"\\(cmd\\|command\\).execute") >= 0)
if (has("unix"))
" windows specific settings
let s:shellredir = '>%s'
let s:shell = &shell