This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

passmenu: use pass otp when filename is otp

+6 -1
+6 -1
tools/passmenu.nix
··· 25 25 26 26 password=$(printf '%s\n' "''${password_files[@]}" | menu "$@") 27 27 28 - pass show -c "$password" 2>/dev/null 28 + filename=$(basename "$password") 29 + if [[ "$filename" == "otp" ]]; then 30 + pass otp -c "$password" 2>/dev/null 31 + else 32 + pass show -c "$password" 2>/dev/null 33 + fi 29 34 ''; 30 35 }; 31 36 };