From f55786b7a83a1f70920616d56231bb722f2888d9 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 28 Mar 2017 15:41:32 -0400 Subject: Add '#!/hint/bash' headers to non-executable bash files. This provides a cross-editor hint that the syntax of the file is Bash. --- bash_completion.in | 2 ++ lib/archroot.sh | 2 ++ lib/common.sh | 2 ++ lib/valid-tags.sh | 2 ++ 4 files changed, 8 insertions(+) diff --git a/bash_completion.in b/bash_completion.in index dd140fc..10dad36 100644 --- a/bash_completion.in +++ b/bash_completion.in @@ -1,3 +1,5 @@ +#!/hint/bash + _devtools_compgen() { local i r COMPREPLY=($(compgen -W '$*' -- "$cur")) diff --git a/lib/archroot.sh b/lib/archroot.sh index 989f1e1..d8d4a2e 100644 --- a/lib/archroot.sh +++ b/lib/archroot.sh @@ -1,3 +1,5 @@ +#!/hint/bash + CHROOT_VERSION='v4' ## diff --git a/lib/common.sh b/lib/common.sh index 5ef9f97..e64553b 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -1,3 +1,5 @@ +#!/hint/bash + # Avoid any encoding problems export LANG=C diff --git a/lib/valid-tags.sh b/lib/valid-tags.sh index 36918fe..9491b0a 100644 --- a/lib/valid-tags.sh +++ b/lib/valid-tags.sh @@ -1,3 +1,5 @@ +#!/hint/bash + _arch=( i686 x86_64 -- cgit v1.2.3-70-g09d2