LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   filetype aware tab completion bash (https://www.linuxquestions.org/questions/linux-general-1/filetype-aware-tab-completion-bash-495703/)

gearoid_murphy 10-26-2006 05:53 AM

filetype aware tab completion bash
 
I've been using linux intensively for several years and depend heavily on tab completion to accelerate my interactions with the system.

I've recently noticed in my latest distro (debian 2.6.16 Etch, fluxbox, bash 3.1.17) that tab completion has become smart; this manifests itself by only allowing a program like dvips (converts dvi files to ps) only to complete the names of dvi files when i type
dvips <TAB>
sample.div test.div etc

I'm aware of custom tab completion configurations in bash; is this behavior associated with these custom configurations?, regardless of its cause, does anyone know how to revert to the old style of tab completion?, this new style is really pissing me off.

Cheers,
Gearoid

Tinkster 10-27-2006 02:14 AM

Check for the existence of /etc/bash_completion (or a similar location) and
get rid of it :}


Cheers,
Tink

gearoid_murphy 10-29-2006 06:52 AM

i tried it and it works, cheers.


All times are GMT -5. The time now is 11:58 PM.