commit dd262af9b1ccf9731f712d33a4d156f7febc01ab parent dcf9813b1a1c2acb943849ab9d4958d2ebb789b7 Author: Dimitrije Dobrota <mail@dimitrijedobrota.com> Date: Fri, 23 Feb 2024 19:16:01 +0000 Remove otp entries from passmenu Diffstat:
M | bin/passmenu | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/passmenu b/bin/passmenu @@ -24,7 +24,7 @@ password_files=( "$prefix"/**/*.gpg ) password_files=( "${password_files[@]#"$prefix"/}" ) password_files=( "${password_files[@]%.gpg}" ) -password=$(printf '%s\n' "${password_files[@]}" | "$dmenu" "$@") +password=$(printf '%s\n' "${password_files[@]}" | grep -iv otp | "$dmenu" "$@") [[ -n $password ]] || exit