-
Notifications
You must be signed in to change notification settings - Fork 4
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
Enable bash-completion #4080
Comments
To be extra-clear, I mean what in bash(1) is called "Programmable Completion", usually enabled by sourcing /usr/share/bash-completion/bash_completion (I even tried doing it explicitely on the mc command line widget but no effect).
I guess it's a matter of adding support for it in lib/widget/input_complete.c, right? Do you think this is feasible? |
Ping. Any hints? I'd be glad to help with this if anyone could point me in the right direction... |
well, now that bi-directional syncing of the shell prompt was implemented, this might be even realistic. |
Replying to ossi:
Oh, you mean #4114, right? That actually slightly improves the situation, thanks.
:(
Uhm, I wonder if this can be somehow automated. I.e. pressing Tab (I redefined Tab for completion instead of Esc-Tab) on the panels command line would automatically switch to the subshell, pass the tab key to it, so that bash-completion would be invoked, and then go back to the panels after auto-completion is done. But I guess the last step is the trickiest, right? And maybe it would be visually uncomfortable, the eye should jump from the panels command line at bottom of the screen to the subshell command line at the top, and back... |
Yeah, that's what is basically meant with non-trivial amount of work... |
Important
This issue was migrated from Trac:
cri
(cri@….org)Would it be possible to enable bash-completion (https://github.com/scop/bash-completion) in the mc panels command line? Currently it only works when in the subshell (Ctrl-O).
The text was updated successfully, but these errors were encountered: