From 12ac7f9f03370a6e491db885f13bd0d858d558c8 Mon Sep 17 00:00:00 2001 From: Markus Braun Date: Wed, 15 Oct 2008 11:43:54 +0000 Subject: [PATCH] Use has("unix") to determine between windows and unix. --- plugin/gnupg.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index 55b02ff..c62e642 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -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