diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index 02e6e25..a5c74c0 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -117,7 +117,7 @@ fun s:GPGInit() " setup shell environment for unix and windows let s:shellredirsave=&shellredir let s:shellsave=&shell - if (match(&shell,"cmd.exe")) + if (match(&shell,"\\(cmd\\|command\\).exe") >= 0) " windows specific settings let s:shellredir = '>%s' let s:shell = &shell