home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] path completion query

Hmm. I downloaded latest source (my Linux Mint uses 4.3.48(1)) and
built it. Tried it.

And. ... tab on first couple of letters of symlinked directory gives
no /, but hitting tab again gives the /. Went back to my local bash
and same behaviour.

Maybe this is intentional, and knowing the double tab does the job
is fine for my uses. Thanks.

Off-topic: Dianne. Did you send a proxy for AGM tonight? (Or plan to be
there?) Others: Please send proxies to me or Scott or someone going.
We don't want to end up without quorum. There are about 170 names on our
list, and we need 20 for quorum.

Best, JN


On 2018-04-05 09:25 AM, Dianne Skoll wrote:
> On Thu, 5 Apr 2018 09:17:21 -0400
> J C Nash <profjcnash [ at ] gmail [ dot ] com> wrote:
> 
>> When I am in a terminal and want to cd to the appropriate folder
>> I typically type just the first couple of characters then hit tab.
>> I've noticed that regular directories add the /, but command
>> completion for the symlinks leaves it off.
> 
> What shell are you using?  Under Bash version 4.4 on Debian Stretch,
> I get the / when I hit Tab.
> 
>> I'm assuming that is because the symlink does not have the d flag
>> available.
> 
> Symlinks under Linux don't have any flags or permissions associated with
> them.  Their permissions always show up as 0777.  The actual permissions
> and flags are controlled by the pointed-to file.
> 
> Regards,
> 
> Dianne.
> _______________________________________________
> Linux mailing list
> Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
> http://oclug.on.ca/mailman/listinfo/linux
>