variable
FIGNORE
Colon-separated filename suffixes ignored during filename completion. It does not affect ordinary pathname expansion, unlike GLOBIGNORE. force_fignore controls fallback when ignored matches are the only possibilities. The interactive fixture shows Tab choosing the unignored filename. Run in a fresh private directory with HOME set to that directory and LC_ALL=C. Use interactive Bash with default key bindings; expected visible result: sample.txt.
Formal Syntax & Structure
bash syntaxbash
FIGNOREReturn Value
shell variable
Expansion yields the current value in its applicable context, not a separate command exit status.
Working Example
Example Snippetbash
# In fresh interactive Bash in an empty private directory:touch sample.txt sample.oFIGNORE=.oshopt -s force_fignore# Type printf '%s\n' sam then Tab and Enter.