Re: tab completion in bash

From: Colin Watson (cjwatson_at_debian.org)
Date: 08/30/03

  • Next message: Yves Goergen: "Re: Quoting"
    Date: Sat, 30 Aug 2003 12:12:29 +0100
    To: debian-user@lists.debian.org
    
    

    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]
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Yves Goergen: "Re: Quoting"