Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

escaping shell commands on windows #243

Merged
merged 1 commit into from
Nov 29, 2012
Merged

Conversation

robi-wan
Copy link
Contributor

inspired by
#228 and
#172

Vim patch #445 changed shell escaping and introduced incompatabilities for vundle.
Now vundle only escapes joined commands with double quotes on windows when shellxquote is not set to '('.
This workaround closes #146 - the mentioned workaround
is no longer needed, but it does not break a vim configurations which contains "set shellxquote=".

DRY shell escaping and modified (hopefully) all relevant places.

Tested with :BundleInstall and :BundleInstall! on Windows 7 64bit with vim 7.3.709.

inspired by
VundleVim#228 and
VundleVim#172

Vim patch VundleVim#445 changed shell escaping and introduced incompatabilities for vundle.
Now vundle only escapes joined commands with double quotes on windows when shellxquote is not set to '('.
This workaround closes VundleVim#146 - the mentioned workaround
is no longer needed, but it does not break a vim configurations which contains "set shellxquote=".

DRY shell escaping and modified (hopefully) all relevant places.
@gmarik gmarik merged commit b5bef26 into VundleVim:master Nov 29, 2012
@gmarik
Copy link
Contributor

gmarik commented Nov 29, 2012

Looks good, tested on OSX!
Thanks @robi-wan !
/cc @jdevera, @techlivezheng

@WayneYe
Copy link

WayneYe commented May 28, 2013

I overcame this issue by:
set shell=C:\msysgit\msysgit\bin\bash.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BundleInstall does not work with Vim7.3.456 for WinXP.
3 participants