[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FIGNORE not effective if it contains a full filename
From: |
Josh Triplett |
Subject: |
Re: FIGNORE not effective if it contains a full filename |
Date: |
Wed, 19 Aug 2020 13:01:33 -0700 |
On Wed, Aug 19, 2020 at 03:33:49PM -0400, Chet Ramey wrote:
> On 8/19/20 3:15 PM, Josh Triplett wrote:
>
> > Bash Version: 5.0
> > Patch Level: 18
> > Release Status: release
> >
> > Description:
> > If FIGNORE contains the complete filename of a file, tab
> > completion will not ignore it.
>
> FIGNORE is a list of suffixes, and requires at least one character before
> the suffix when matching.
I'm wondering if either that might be changeable or there could be a way
to specify full filenames to get the same treatment. I'd like to ignore
specific filenames, rather than all filenames ending in a suffix. Or
perhaps there could be an option that does a regex match (allowing
things like ^ and $)?