From 6fafeb13b3b115b5fddf371b6b7624801559b99f Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 22 Feb 2022 15:14:58 -0500 Subject: devenv: Source bash completion scripts --- docs/markdown/Commands.md | 3 +++ docs/markdown/snippets/devenv.md | 5 +++++ 2 files changed, 8 insertions(+) (limited to 'docs') diff --git a/docs/markdown/Commands.md b/docs/markdown/Commands.md index 2dbe79b48..2623b5c92 100644 --- a/docs/markdown/Commands.md +++ b/docs/markdown/Commands.md @@ -321,4 +321,7 @@ These variables are set in environment in addition to those set using `meson.add layout must match the installed tree layout otherwise `import subdir.mod` cannot work. +Since *Since 0.62.0* if bash-completion scripts are being installed and the +shell is bash, they will be automatically sourced. + {{ devenv_arguments.inc }} diff --git a/docs/markdown/snippets/devenv.md b/docs/markdown/snippets/devenv.md index 0d188893f..19a272c69 100644 --- a/docs/markdown/snippets/devenv.md +++ b/docs/markdown/snippets/devenv.md @@ -3,3 +3,8 @@ `PYTHONPATH` now includes every directory where a python module is being installed using [`python.install_sources()`](Python-module.md#install_sources) and [`python.extension_module()`](Python-module.md#extension_module). + +## Bash completion scripts sourced in `meson devenv` + +If bash-completion scripts are being installed and the shell is bash, they will +be automatically sourced. -- cgit v1.2.3