aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam Beguin <liambeguin@gmail.com>2022-09-05 12:15:47 -0400
committerXavier Claessens <xclaesse@gmail.com>2022-09-18 15:22:48 -0400
commitf08c788f618b37b9d2e06256605da4ae4da86c37 (patch)
tree3ef5a13e372f281d5cf7f273be9a1f3a93c5700e
parentebe14848e0b35a879088839ee9a8a1d6e33c952a (diff)
downloadmeson-f08c788f618b37b9d2e06256605da4ae4da86c37.zip
meson-f08c788f618b37b9d2e06256605da4ae4da86c37.tar.gz
meson-f08c788f618b37b9d2e06256605da4ae4da86c37.tar.bz2
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 <TAB>-bash: _meson-init: command not found Signed-off-by: Liam Beguin <liambeguin@gmail.com>
-rw-r--r--data/shell-completions/bash/meson16
1 files changed, 16 insertions, 0 deletions
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
+}