commit de4c7f42f395127b05a3050864996605b870f14e parent ab11c9ca71ea3c575238d5d22fa4165285b1b371 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