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

Config option to wrap commands #7

Open
rklyne opened this issue May 19, 2014 · 3 comments
Open

Config option to wrap commands #7

rklyne opened this issue May 19, 2014 · 3 comments

Comments

@rklyne
Copy link

rklyne commented May 19, 2014

I use virtualenvs or Vagrant VMs to encapsulate environments and Vim on the host to edit.
I'd like to be able to have a config option that allows me to wrap each python command in the necessary script to make it work.
For example, with config set to vagrant ssh -c "%", ./manage.py shell would become vagrant ssh -c "./manage.py shell".

@jmcomets
Copy link
Owner

This is close to #8, I'll get this out in a bit.

jmcomets added a commit that referenced this issue May 26, 2014
Change `g:pony_python_cmd` to the appropriate command to run on the
manage.py Django script. Defaults to **python**.
jmcomets added a commit that referenced this issue May 26, 2014
Change `g:pony_python_cmd` to the appropriate command to run on the
manage.py Django script. Defaults to **python**.
@jmcomets
Copy link
Owner

Untested, but it really doesn't need it. Set the g:pony_python_cmd to the appropriate python command, which should be in your case : vagrant ssh -c python.

@rklyne
Copy link
Author

rklyne commented Jul 4, 2014

Doesn't do it for me - I need the quoting. I need the command to be shell escaped and to be able to wrap the escaped version in quotes.

@jmcomets jmcomets reopened this Jul 11, 2014
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

No branches or pull requests

2 participants