Skip to content

Commit 0532068

Browse files
committed
Add an alias to display the OTP URI in a QR code format
This helps to add things to other devices easily.
1 parent a1a44be commit 0532068

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

_bashrc.d/13-pass.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
alias cpass="pass -c"
22
alias gpass="pass generate -c"
33
alias totp="pass otp -c"
4-
complete -o filenames -F _pass cpass gpass totp
4+
alias qpass="pass otp uri -q"
5+
complete -o filenames -F _pass cpass gpass qpass totp
56
export PASSWORD_STORE_GENERATED_LENGTH='32'
67
export PASSWORD_STORE_ENABLE_EXTENSIONS=true

0 commit comments

Comments
 (0)