Originally Posted by newtovanilla
When I try to use autocomplete with "pkg-config --modversion lib" then I only see four libraries to choose from. Does pkg-config only see a handful of
pkg-config retrieves its data from a bunch of metafiles which are installed along with the major part of (if not all) the libraries packages. These files are usually under /usr/lib/pkgconfig or in the directories specified by the environmental variable PKG_CONFIG_PATH.
Regarding the autocompletion issue, you will see only the files and directories whose name begins with "lib" in the current directory
. You cannot use the autocompletion to have a list of all the installed libraries.