On Sat, Sep 07, 2024 at 08:56:08 -0400, Eben King wrote: > Hi. I have bash 5.2.15(1). When I cd into an empty directory, and type "cd > <tab><tab>", the shell offers 178 possibilities. If I restrict it to an > initial letter and hit <tab> once, I think the spurious offerings are from > $HOME. How can I make it not do that and only offer me things I ask for?
Do you perhaps have the CDPATH variable set? That might affect tab completion for the cd command.