Re: tab completion in bash
On Sat, Aug 30, 2003 at 11:06:46AM +0200, Borislav Petkov wrote:
> when i type a program name at the bash prompt and then auto-complete for a
> filename by pressing <Tab> it deliberately (i think) selects only those files
> that can be opened with the aforegoing program's name. Example, kuickview ->
> .jpg, .gif etc.
> Where can i tweak this bash behavior so that I could tell it to recognize .m2v
> files as to be opened with mplayer, for example?
See /etc/bash_completion for how it works. If you're adding to it, best
to do so in your own .bashrc.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: