mirror of
https://github.com/Ascyii/vim-gnupg.git
synced 2026-01-01 06:14:24 -05:00
Use has("unix") to determine between windows and unix.
This commit is contained in:
@@ -197,7 +197,7 @@ function 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\\|command\\).execute") >= 0)
|
if (has("unix"))
|
||||||
" windows specific settings
|
" windows specific settings
|
||||||
let s:shellredir = '>%s'
|
let s:shellredir = '>%s'
|
||||||
let s:shell = &shell
|
let s:shell = &shell
|
||||||
|
|||||||
Reference in New Issue
Block a user