Kenneth,

I don't know if there's a particular setting you can change, but one way to get
autocomplete to work in the current dirctory is to use "./". For exapmle, to
autocomplete catenate, type:

ls ./cate

then hit autocomplete.

Regards,

Chris

Kenneth Stephen wrote:

> Hi,
>
>     The 'autocomplete' feature in bash has an annoying feature.
> Instead of searching just the directory pointed to, it also searches
> for possible completions in the PATH. This is annoying when for
> example, if there is a file 'catenate' in the current directory, and I
> am trying to autocomplete it by typing 'cat'. In this case,
> autocomplete seems to find 'cat' from /bin/cat. Is there a way I can
> setup bash to autocomplete by searching only in the path pointed to
> (if there is no path specified, then the search should be in teh
> current directory)?
>
> Kenneth
>
> --
> There is no such thing as luck. 'Luck' is nothing but an absence of bad luck.

Reply via email to