aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.config/herbstluftwm/pass.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/herbstluftwm/pass.sh b/.config/herbstluftwm/pass.sh
index 32a7b2d..325197b 100755
--- a/.config/herbstluftwm/pass.sh
+++ b/.config/herbstluftwm/pass.sh
@@ -7,7 +7,9 @@ zparseopts -M -E -A args \
local password_files
-password_files=( ~/.password-store/**/*.gpg )
+setopt extendedglob
+
+password_files=( ~/.password-store/**/^(otp-)*.gpg )
password_files=( ${password_files:t:r} )
printf "%s\n" $password_files | dmenu -fn "${bfont}:size=${bfont_size}" -i \