Re: tab completion in bash
On Sat, 30 Aug 2003 11:06:46 +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?
In bash, type 'help compgen' and 'help complete'
and check:
/etc/bash_completion
/etc/bash_completion.d/
--
Carlos Sousa
http://vbc.dyndns.org/
Reply to: