diff --git a/autoload/sy/repo.vim b/autoload/sy/repo.vim index f6f1e0f..f44cf6b 100644 --- a/autoload/sy/repo.vim +++ b/autoload/sy/repo.vim @@ -452,7 +452,7 @@ let s:default_vcs_cmds = { \ 'cvs': 'cvs diff -U0 -- %f', \ 'rcs': 'rcsdiff -U0 %f 2>%n', \ 'accurev': 'accurev diff %f -- -U0', - \ 'perforce': 'p4 info '. sy#util#shell_redirect('%n') . (has('win32') ? '' : ' env P4DIFF= P4COLORS=') .' p4 diff -du0 %f', + \ 'perforce': 'p4 info '. sy#util#shell_redirect('%n') . (has('win32') ? ' &&' : ' && env P4DIFF= P4COLORS=') .' p4 diff -du0 %f', \ 'tfs': 'tf diff -version:W -noprompt -format:Unified %f' \ }