On 7/17/13 11:16 AM, Mark W. Johnson wrote: > Chet, > > I'm not familiar with the complete function. I did execute complete -pr > and found the following line: > > complete -o nospace -F _cd cd > > I never looked into what the rule does (perhaps this is something that gets > setup by Cygwin and not a bash default?), but I did conjecture that I was > having a name collision problem. I changed my function _cd to __cd, and now > tab completion works as it did before. Seems _cd is being defined in > /etc/bash_completion so my _cd was trashing this function and causing > auto-complete weirdness.
That's a good diagnosis. I think that's exactly what's happening. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/