[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix `shopt -u force_fignore' affecting unrelated parts
From: |
Chet Ramey |
Subject: |
Re: [PATCH] fix `shopt -u force_fignore' affecting unrelated parts |
Date: |
Tue, 9 Jul 2024 11:50:08 -0400 |
User-agent: |
Mozilla Thunderbird |
On 7/7/24 6:55 AM, Koichi Murase wrote:
Bash Version: 5.3
Patch Level: 0
Release Status: alpha
Description:
The filtering by `shopt -u force_fignore' is also applied to the
suppression of completons unrelated to FIGNORE, which results in
strange behaviors in command- and directory-name completions with
`shopt -u force_fignore'. This is because `_ignore_completion_names
()' (bashline.c) keeps the original completion list with `shopt -u
force_fignore' regardless of whether the current filtering is that
by FIGNORE. The `force_fignore == 0' should take effect only for
the filtering by FIGNORE.
Thanks for the detailed report and patch.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature