*Dear Bash Maintainers,* I have encountered an issue with Bash autocompletion on my system. Specifically, a file beginning with three dots (e.g., ...Hiding-From-You) is autocompleted even when no dot (.) has been typed, which seems inconsistent with typical Bash behavior where hidden files are excluded from completion unless the input starts with a dot.
Here’s how to reproduce the issue: # Setup mkdir ~/bash-bug-test cd ~/bash-bug-test touch ...hiddenfile # Now test cat <TAB> *Expected Behavior:* No suggestions should appear as the input does not start with a dot (.). *Actual Behavior:* The file ...hiddenfile is autocompleted even though no dot was typed. Environment Info: bash --version # GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu) # Copyright (C) 2022 Free Software Foundation, Inc. uname -a # Linux bandit 6.8.0-1026-aws #28-Ubuntu SMP Mon Mar 24 19:32:19 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux gcc --version # gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 ldd $(which bash) # linux-vdso.so.1 (0x00007ffff7fc3000) # libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007ffff7e15000) # libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffff7c00000) # /lib64/ld-linux-x86-64.so.2 (0x00007ffff7fc5000) Note: libreadline is *not linked*, suggesting this Bash binary may not be using readline, which may be relevant for the autocompletion issue. Please feel free to mention my email (j.t4nma...@gmail.com) or Github Username (TammyWho) if this bug is acknowledged or fixed. Thank you for your time and for maintaining Bash!