On Wed, Jun 22, 2011 at 9:23 AM, Aaron Konstam <akons...@sbcglobal.net> wrote:
> On Tue, 2011-06-21 at 16:31 -0430, Patrick O'Callaghan wrote:
>>
>> AFAIK $PATH has nothing to do with it. The appropriate variable is
>> $CDPATH and yes, the directory is in it.
>
> That is an interesting theory but I have no $CDPATH and the cd
> completion works on my machine.

$CDPATH does for directories what $PATH does for executables.

You can type "ip addr show" (rather than "/sbin/ip) when "/sbin/" is in $PATH.

You can type "cd tomh" (rather than "/root/path/to/poc/tomh") when
"/root/path/to/poc/" is in $CDPATH.

To the OP: CDPATH's tab completion's not working for me on F15. I've
never used tab completion this way before so it's a new "non-feature"
for me; I'm tempted to build an F14 VM to see it in action and to
compare the contents of their respective "/etc/bash_completion.d/".
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to