-
-
Save KlausTrainer/2d2d75cc022df29ad2f72e72b411a699 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PASSWORD_FILE="$HOME/.pw/passwords.gpg" | |
gpg -d $PASSWORD_FILE | perl -ne "if (/^$1: (.*)$/) { print \$1 }" | xclip -selection clipboard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment