Chet Ramey wrote: > i336 wrote: > > mkdir -p dir1/dir2 > > ln -s dir1/dir2 ouch > > touch idontexist > > ls # ^ to see dir & files & prove they really exist :P > > cd ouch > > ls ../ido<press tab> > > ...<and now press enter> > > Filename completion uses whatever file system view -- logical or physical > -- that you have selected for bash. The default is a logical view. `ls', > on the other hand, doesn't know anything about that. This is not solvable > unless you decide to use a physical view consistently (set -o physical).
I always use 'set -o physical' everywhere to have consistent behavior. The evil truth is better than a good lie. Bob