summaryrefslogtreecommitdiff
path: root/data/shell-completions/bash
AgeCommit message (Collapse)Author
2024-11-02Add -q as alternative to --quiet for meson installAndreas Karlsson
Since "meson test" already has both -q and --quiet it makes a lot of sense to add the short option to "meson install" too for reasons of symmetry.
2024-09-11Fix typosspaette
2024-06-17Add meson test --max-linesDaan De Meyer
Let's allow users to configure how many lines are shown at most when a test fails.
2024-04-23Add meson test --interactiveDaan De Meyer
This is very similar to --gdb, except it doesn't spawn GDB, but connects stdin/stdout/stderr directly to the test itself. This allows interacting with integration tests that spawn a shell in a container or virtual machine when the test fails. In systemd we're migrating our integration tests to run using the meson test runner. We want to allow interactive debugging of failed tests directly in the virtual machine or container that is spawned to run the test. To make this possible, we need meson test to connect stdin/stdout/stderr of the test directly to the user's terminal, just like is done with the --gdb option.
2024-02-09Continue fleshing out bash completion scriptTristan Partin
This adds bash completion to everything that I could think of except for the rewriter.
2023-11-01completions: bash: add a bunch of missing completion optionsLuke Elliott
2023-09-06completions: bash: don't show json errors when completing "meson test".Luke Elliott
E.g. "meson test<tab>" json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2023-09-06completions: bash: added "compile" (and "help") completion.Luke Elliott
2023-09-06completions: bash: fix -x<tab>.Luke Elliott
If x was a known short option, would complete to "-". If unknown, "--".
2023-09-06completions: bash: added a bunch of missing completion options.Luke Elliott
2022-09-18completions: bash: add simple init competionLiam Beguin
Populate the _meson-init() completion function. Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2022-09-18completions: bash: define sub-commands as an arrayLiam Beguin
Define subcommands as an array so that they can be reused for the top-level sub-command completion. Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2022-09-18completions: bash: update meson sub-command listLiam Beguin
Add all meson sub-commands to the autocompletion script. Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2022-09-18completions: bash: add missing functionsLiam Beguin
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>
2022-09-18completions: bash: order function definitions like in helpLiam Beguin
Move _meson-introspect() to follow the command list defined at the top of the script which follows the help message order. Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2019-03-08bash/zsh: drop completion for deprecated commandEric Engestrom
2019-02-20add Bash completion scriptEric Engestrom