Skip to content

completion breaks on spaces in paths #26

@natling

Description

@natling

completion functions generated using <file> and <directory> syntax dont seem to handle paths containing whitespace correctly. since compgen output is newline-delimited i think this could be fixed by replacing COMPREPLY=( $( compgen ... ) ) with readarray -t COMPREPLY < <( compgen ... ). or am i doing something wrong?

thanks for this library and for bashly! theyre both lovely

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions