completion: Add shellcheck shell hints to all completion scripts

Because completion scripts are not executed directly, they don’t have a
shebang line, so shellcheck can’t be sure which shell syntax to use for
them. Help it out.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall
2024-04-16 13:51:44 +01:00
parent efc85d1f49
commit f95e8b4e7c
5 changed files with 10 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
# shellcheck shell=bash
# Check for bash
[ -z "$BASH_VERSION" ] && return