From f08c788f618b37b9d2e06256605da4ae4da86c37 Mon Sep 17 00:00:00 2001 From: Liam Beguin Date: Mon, 5 Sep 2022 12:15:47 -0400 Subject: completions: bash: add missing functions Add empty functions for all commands defined in the autocompletion script. When these functions are not defined, bash raises the following error: $ meson init -bash: _meson-init: command not found Signed-off-by: Liam Beguin --- data/shell-completions/bash/meson | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/data/shell-completions/bash/meson b/data/shell-completions/bash/meson index 4fbdab1..35ff7fd 100644 --- a/data/shell-completions/bash/meson +++ b/data/shell-completions/bash/meson @@ -242,6 +242,10 @@ _meson-configure() { fi } +_meson-install() { + : TODO +} + _meson-introspect() { shortopts=( h @@ -286,6 +290,10 @@ _meson-introspect() { fi } +_meson-init() { + : TODO +} + _meson-test() { shortopts=( q @@ -414,3 +422,11 @@ for test in json.load(sys.stdin): _meson-wrap() { : TODO } + +_meson-subprojects() { + : TODO +} + +_meson-help() { + : # Nothing to do +} -- cgit v1.1