bash-completion: various bash fixes
authorStéphane Cerveau <scerveau@collabora.com>
Fri, 26 Feb 2021 09:47:38 +0000 (10:47 +0100)
committerStéphane Cerveau <scerveau@collabora.com>
Wed, 3 Mar 2021 08:43:36 +0000 (09:43 +0100)
commitd093b2894b5bfe76899f9884fad16b4160ffe561
tree07e39b3487f77ef96cac99c8983a464600982e37
parenta4b5d8bb60cea80e74926b379c464fc4d999d3cb
bash-completion: various bash fixes

-d tests the folder which is existing but with .in file, so I prefered
the -f to test if the gst file was available which is not the case, so
it fallbacks on the pkg-config

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/766>
data/bash-completion/completions/gst-inspect-1.0
data/bash-completion/completions/gst-launch-1.0
data/bash-completion/helpers/gst.in