summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-12-13 08:59:48 +0100
committerFlorian Bruhin <me@the-compiler.org>2022-12-13 08:59:48 +0100
commit5afc8a68191160f8d5c74b92874a0032d3c1996e (patch)
tree8c6fd208df841ab1fc1a1d79bb89508db9c27076
parent65440f3f1e709a7a14575197cd91c8391f12c870 (diff)
downloadqutebrowser-5afc8a68191160f8d5c74b92874a0032d3c1996e.tar.gz
qutebrowser-5afc8a68191160f8d5c74b92874a0032d3c1996e.zip
Make shellcheck happy again about password_fill
v0.9.0 seems to add SC2317 ("Command appears to be unreachable."): https://www.shellcheck.net/wiki/SC2317 This adds various false-positives in password_fill, let's just ignore those... Also see: https://github.com/koalaman/shellcheck/issues/2613
-rwxr-xr-xmisc/userscripts/password_fill4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/userscripts/password_fill b/misc/userscripts/password_fill
index 3ea8fd9f6..b63d36276 100755
--- a/misc/userscripts/password_fill
+++ b/misc/userscripts/password_fill
@@ -143,6 +143,7 @@ no_entries_found() {
# expected to write the username of that entry to the $username variable and
# the corresponding password to $password
+# shellcheck disable=SC2317
reset_backend() {
init() { true ; }
query_entries() { true ; }
@@ -198,7 +199,7 @@ choose_entry_zenity() {
}
choose_entry_zenity_radio() {
- zenity_helper() {
+ zenity_helper() { # shellcheck disable=SC2317
awk '{ print $0 ; print $0 }' \
| zenity --list --radiolist \
--title "qutebrowser password fill" \
@@ -278,6 +279,7 @@ pass_backend() {
# =======================================================
# backend: secret
+# shellcheck disable=SC2317
secret_backend() {
init() {
return