On 4/19/12 7:38 AM, Artur Rataj wrote:
> Yes, it appears that "lib" is indeed a symlink. Is it possible to treat it
> as if it were "just here" with the tab completion?
By default, bash uses a logical view of the file system, in which $PWD
and pwd report the current directory using the path used to get there,
and `..' in arguments to `cd' retreats one path element in pathname. Bash
tries to be consistent in its treatment of `..', so there are occasional
discrepancies between what bash completes to and the physical directory
tree.
If you don't want bash to do that by default, use `set -o physical'.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/