[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Directory completion problems
From: |
Chet Ramey |
Subject: |
Re: Directory completion problems |
Date: |
Thu, 19 Apr 2012 08:32:32 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
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 chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Directory completion problems, Artur Rataj, 2012/04/19
- Re: Directory completion problems, Artur Rataj, 2012/04/19
- Re: Directory completion problems, Roman Rakus, 2012/04/19
- Re: Directory completion problems, Artur Rataj, 2012/04/19
- Re: Directory completion problems,
Chet Ramey <=
- Re: Directory completion problems, Artur Rataj, 2012/04/19
- Re: Directory completion problems, Artur Rataj, 2012/04/20
- Re: Directory completion problems, Artur Rataj, 2012/04/20
- Re: Directory completion problems, Chet Ramey, 2012/04/22
- Re: Directory completion problems, Artur Rataj, 2012/04/23
- Re: Directory completion problems, Chet Ramey, 2012/04/25
- Re: Directory completion problems, Chet Ramey, 2012/04/22