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

Document bash completion in a usable way #2

Open
rholder opened this issue Apr 19, 2015 · 0 comments
Open

Document bash completion in a usable way #2

rholder opened this issue Apr 19, 2015 · 0 comments

Comments

@rholder
Copy link
Owner

rholder commented Apr 19, 2015

Here is how we activate bash completion for csv2es after pip installing it:

eval "$(_CSV2ES_COMPLETE=source csv2es)"

This seems to work fine but presumably we'll install this in a virtualenv and keep it around for a while or some such so what's the best way to get it working when we install?

An alternative method is to create and drop this file somewhere for sourcing (but where....?):

_CSV2ES_COMPLETE=source csv2es > csv2es-complete.sh

There are more details here.

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

No branches or pull requests

1 participant