Module Name: src Committed By: christos Date: Sat Mar 27 18:55:02 UTC 2021
Modified Files: src/lib/libedit: filecomplete.c filecomplete.h Log Message: Add fn_complete2() that controls the quoting of the returned match. Before it was based on the heuristic that we were not supplied an attempted_completion_function, which worked well because programs that supplied that function were not shells and did not want/understand shell quoting. Recently though Piotr Stefaniak wanted to enhance command completion for the Bourne Shell and this could benefit quoting the returned command. This function adds an extra flags argument that controls that quoting. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/lib/libedit/filecomplete.c cvs rdiff -u -r1.11 -r1.12 src/lib/libedit/filecomplete.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.