mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 02:18:40 +08:00

By default, fish does not complete files that have leading dots, unless the wildcard itself has a leading dot. However this also affected completions; for example `git add` would not offer `.gitlab-ci.yml` because it has a leading dot. Relax this for custom completions. Default file expansion still suppresses leading dots, but now custom completions can create leading-dot completions and they will be offered. Fixes #3707. (cherry picked from commit b7de768c73f0a9b0a097b83db1f60726c3a9661a)