add choose version for rbw
This commit is contained in:
parent
17255ba14c
commit
8ce68f818a
1 changed files with 7 additions and 0 deletions
7
dot_config/choose/executable_choose-rbw.sh
Normal file
7
dot_config/choose/executable_choose-rbw.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# Use fuzzel to find a password from password-store and copy it to clipboard.
|
||||||
|
# inpired by: https://gist.github.com/igemnace/2b8609d280752e8a1b173204c14f6892
|
||||||
|
|
||||||
|
pass_name=$(rbw list | choose)
|
||||||
|
|
||||||
|
[[ $pass_name != "" ]] && rbw get "$pass_name" --clipboard
|
Loading…
Reference in a new issue