-
Notifications
You must be signed in to change notification settings - Fork 100
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
Bash completion #89
Comments
Hmm good idea. I'll do some investigating. |
@srsudar thanks for the interest. I'm now a really fan of |
I have been looking into the possibility of adding tab completion functionality to eg, and I've come up with a potential approach that I'd like to share. Instead of using actual bash-completion (which could complicate the installation process and may not work across all platforms), I'm proposing a pseudo-completion scheme implemented at the Python level. Here's how it would work: when a user types a partial command (like While this approach wouldn't provide the same experience as traditional tab completion, I believe it would be a helpful feature to improve the usability of eg. It would enable users to discover available commands more easily and complete their desired command without needing to type it out fully. I'd be happy to work on implementing this feature if you think it would be a beneficial addition to the project. This is indeed a very helpful tool, thanks! Looking forward to your thoughts, Erwin |
I had forgotten about this issue! Thanks for resurrecting. I think that the enter approach (as opposed to tab completion) would be a bit too unlike regular tab completion. The easiest solution to me seems like including a zsh/sh function that uses |
Hi @srsudar,
Please add bash completion (TAB) for
eg
:I don't know how is the best way to implement that functionality, but as
eg
is a terminal tool the tab completion is a necessary feature.The text was updated successfully, but these errors were encountered: