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