Also the output of complete -p cd might be useful.
vnix$ complete -p cd complete -o filenames -o nospace -F _cd cd
It seems that if I remove the "-o filenames" it works as hoped.
Also the output of complete -p cd might be useful.
vnix$ complete -p cd
complete -o filenames -o nospace -F _cd cd
It seems that if I remove the "-o filenames" it works as hoped.