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

Re: [OCLUG-Tech] path completion query

On Thu, 5 Apr 2018 10:16:29 -0400
J C Nash <profjcnash [ at ] gmail [ dot ] com> wrote:

> 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.

That's a smart way to work.  Sometimes you want the slash and sometimes
not.

cd symlink/  # want the slash
rm symlink   # don't want the slash - rm symlink/ will fail

Clever bash! :)

Regards,

Dianne.