You are not logged in.
Pages: 1
I was totally confused when:
mplayer <tab><tab>
was not working on files with no extension. I tried other commands like smplayer and vlc, and they worked. And then I deduced it to a fault with tab-completion, and thus remembered that I had recently installed the package because I was running a lot of long qdbus commands.
Now upon further inspection, /etc/bash_completion has got a good deal of mplayer-related stuff. But I can't seem to figure out what to ammend so that it will complete the name of the file without checking for extension, but at the same time would like to retain the functionalities offered by bash_completion for mplayer.
If there's no cure for this then I'll just remove everything about mplayer from bash_completion.
I need real, proper pen and paper for this.
Offline
Wouldn't just putting `complete -f mplayer`into your ~/.bashrc work?
Offline
Thanks, I'll do that if all else fail, because that way I can't retain the rest of the magic, i.e when I:
mplayer -<tab><tab>
I need real, proper pen and paper for this.
Offline
Pages: 1