Skip to content

Completion (Bash): fixes --config/-c path completion splitting on spaces - #2621

Merged
CarterLi merged 2 commits into
fastfetch-cli:devfrom
MegaManSec:completion-bash-fix-space-splitting
Sep 27, 2026
Merged

CarterLi merged 2 commits into
fastfetch-cli:devfrom
MegaManSec:completion-bash-fix-space-splitting

Conversation

@MegaManSec

Copy link
Copy Markdown
Contributor

The --config/-c bash completion fallback (compgen -f when _filedir isn't available) word-split its own output on spaces, so completing a preset/config path containing a space offered one candidate per word instead of one whole path.

@MegaManSec
MegaManSec force-pushed the completion-bash-fix-space-splitting branch from e7bc2db to 90de710 Compare September 27, 2026 00:03
@CarterLi
CarterLi merged commit f00a021 into fastfetch-cli:dev Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants