[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FIGNORE behaviour with 'CVS', version 3.1.17(1)-release (i486-pc-lin
From: |
Chet Ramey |
Subject: |
Re: FIGNORE behaviour with 'CVS', version 3.1.17(1)-release (i486-pc-linux-gnu) |
Date: |
Tue, 28 Nov 2006 08:24:29 -0500 |
> Machine Type: i486-pc-linux-gnu
>
> Bash Version: 3.1
> Patch Level: 17
> Release Status: release
>
> Description:
> When I set FIGNORE to 'CVS' it doesn't work as I believe it's meant
> to. Pressing tab in a directory containing files still lists 'CVS' in the
> completion list. However, having just 'VS' as the value for FIGNORE works.
That's not what FIGNORE does. FIGNORE is a colon-separated list of
suffixes describing files to be ignored by completion, not a list of
filenames.
The difference between setting FIGNORE to `CVS' and `VS' is that the
completer requires that each pattern be a suffix: there must be at
least one character in the filename besides the suffix for the match
to succeed. `VS' leaves a non-null prefix; `CVS' does not.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong.
Chet Ramey, ITS, CWRU chet@case.edu http://tiswww.tis.case.edu/~chet/