Created
April 16, 2015 19:39
-
-
Save bcremer/0d8eecb15f2887951496 to your computer and use it in GitHub Desktop.
Lasspas CLI Fuzzy Select
This file contains 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/bash | |
## Interactive password selection using lastpass-cli and selecta | |
## the password is written in to the primary clipboard | |
## https://github.com/lastpass/lastpass-cli | |
## https://github.com/garybernhardt/selecta | |
lpass ls | selecta | grep -Po '(?<=(\[id: ))[0-9]*?(?=\])' | xargs lpass show -c --password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment