[Bug 692275] Re: Request bash completion complete for application when file param has no extension, complete to unrecognised extension if only match.
Peter Cordes
peter at cordes.ca
Sat Nov 29 12:38:49 UTC 2014
*** This bug is a duplicate of bug 484628 ***
https://bugs.launchpad.net/bugs/484628
I put a \ at the beginning of the command to get default filename
completion. Or use M-/ instead of tab. But yeah, it would be good for
some commands to be flagged to fall back to things that don't match its
extension filter.
** This bug has been marked a duplicate of bug 484628
bash-completion needs match "fallback" function
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/692275
Title:
Request bash completion complete for application when file param has
no extension, complete to unrecognised extension if only match.
Status in bash-completion package in Ubuntu:
Confirmed
Bug description:
Binary package hint: bash-completion
I've repeatedly run into this irritating behaviour with bash-
completion. Here's a common situation for me.
Flash player is being buggy and playing unreliably. I go to /tmp and try to tab-complete the Flash temp file in mplayer (or in /proc system for new flash which unlinks, whatever).
But that file has no extension so bash completion fails.
Another example. I try to mplayer -loop 0 -fs foo.gif
But bash completion is unaware that gif is playable by mplayer, and
refuses to tab complete. inevitably the gif is from some web page and
has a name that doesn't copy/paste well, and I could really use bash
autoescaping and tab completion.
I'd appreciate it if bash-completion would:
1) complete for files with no extension regardless of app
2) if I tab complete for a file and there is only one match, complete it even if you are unaware of whether the app supports it.
(2) isn't solved by better maintenance of extensions. the gif might be called foo.php and I shouldn't have to rename it.
Thanks!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/692275/+subscriptions
More information about the foundations-bugs
mailing list