Closed ZSaberLv0 closed 6 years ago
A similar problem occurs with the tcsh
shell on unix.
There, the workaround would be:
let g:DirDiffLangString = 'env LANG=' . g:DirDiffForceLang . ' '
Something more portable is probably needed here…
With a few trials, I couldn't come up with something that works equally well under bash
, tcsh
and cygwin
:(
I have a recent pull request that seems to fix this. Since I do not have a Windows box now it's somewhat hard to test. I'll close this for now.
I've had this same problem because I run fish
as my shell. Explicitly setting let g:DirDiffLangString = 'env LANG=' . g:DirDiffForceLang . ' '
allowed me to use this plugin.
with the default config,
g:DirDiffForceLang
would result these cmd:which doesn't work under Windows cygwin, since LANG is not a valid command
workaround: