Add hooks to check .sh and .bash headers - Fixes #1491 (#1765)

* Add hooks to check .sh and .bash headers
* Adds hooks/ to clean_files.txt
This commit is contained in:
David Farrell
2021-01-09 08:02:26 -08:00
committed by GitHub
parent 3fce1ffe8d
commit e932d8371f
18 changed files with 71 additions and 12 deletions

View File

@@ -1,5 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
# cargo (Rust package manager) completion
if _binary_exists rustup && _binary_exists cargo; then

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
# Published originally as public domain code at https://github.com/wk8/knife-bash-autocomplete

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
cite "about-completion"
about-completion "packer completion"

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
# pipx completion
if _command_exists register-python-argcomplete && _command_exists pipx; then

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
# rustup (Rust toolchain installer) completion

View File

@@ -1,3 +1,4 @@
# shellcheck shell=bash
_sdkman_complete() {
local CANDIDATES
local CANDIDATE_VERSIONS

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
cite "about-completion"
about-completion "vault completion"