Skip to content

completion: Invoke the command being completed

Philip Withnall requested to merge pwithnall/glib:completion-bins into main

As suggested by Ville Skyttä in !4012 (comment 2084405), make sure to invoke the copy of the command which is being completed when asking for completions of a given subcommand.

This avoids accidentally invoking any old gdbus/gresource/etc. binary which is hanging around in another part of $PATH.

Signed-off-by: Philip Withnall pwithnall@gnome.org

Merge request reports