-
Notifications
You must be signed in to change notification settings - Fork 79
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
[feature] Shell completion #173
Comments
This is something I'm open to adding. The only thing I can think to complete is namespaces, and there are a lot of those. I don't know how I'd accomplish that; maybe an out of band process to make the complete file? Note that tab completion is something almost entirely outside of the command itself, so cpan doesn't have to really do anything for you to be able to complete. The cpan command, however, can know how to create that file for you. |
I played around with namespace autocompletion in bash, and it's so slow as to be unusable. Also, the I think this means that the command-line version of this has no where to go. If there were a web skin on cpan, you could hook in MetaCPAN's API and update as you type into a box. |
What is your completion script? I want to try it in my machine to see its effect 😄 |
I used this to make a basic bash
|
Is it possible that cpan has tab completion in shell (bash/zsh/fish/etc)? TIA!
The text was updated successfully, but these errors were encountered: