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

Co-authored-by: Carter Li <CarterLi@users.noreply.github.com>
This commit is contained in:
Joshua Rogers
2026-09-27 03:00:11 +02:00
committed by GitHub
parent 676dbcfee2
commit f00a021e27
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -33,7 +33,9 @@ _fastfetch() {
if type _filedir &>/dev/null; then
_filedir
elif type compgen &>/dev/null; then
COMPREPLY+=($(compgen -f -- "$cur"))
local -a files
readarray -t files < <(compgen -f -- "$cur")
COMPREPLY+=("${files[@]}")
fi
return
;;