Path: csiph.com!goblin3!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Josh Triplett Newsgroups: gnu.bash.bug Subject: Re: FIGNORE not effective if it contains a full filename Date: Wed, 19 Aug 2020 13:01:33 -0700 Lines: 20 Approved: bug-bash@gnu.org Message-ID: References: <20200819191554.GA405595@localhost> <0f999534-96c7-0052-02ce-46e5cb1883ba@case.edu> <20200819200133.GA410878@localhost> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet.stanford.edu 1597867307 23573 209.51.188.17 (19 Aug 2020 20:01:47 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: Chet Ramey Envelope-to: bug-bash@gnu.org X-Originating-IP: 50.39.163.217 Content-Disposition: inline In-Reply-To: <0f999534-96c7-0052-02ce-46e5cb1883ba@case.edu> Received-SPF: pass client-ip=217.70.183.193; envelope-from=josh@joshtriplett.org; helo=relay1-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/19 16:01:39 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20200819200133.GA410878@localhost> X-Mailman-Original-References: <20200819191554.GA405595@localhost> <0f999534-96c7-0052-02ce-46e5cb1883ba@case.edu> Xref: csiph.com gnu.bash.bug:16782 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 $)?