From 5afc8a68191160f8d5c74b92874a0032d3c1996e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 13 Dec 2022 08:59:48 +0100 Subject: 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 --- misc/userscripts/password_fill | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf