add sort to fuzzel and choose
This commit is contained in:
parent
0fac40b83c
commit
8654946bd7
2 changed files with 2 additions and 2 deletions
|
@ -2,6 +2,6 @@
|
||||||
# Use fuzzel to find a password from password-store and copy it to clipboard.
|
# Use fuzzel to find a password from password-store and copy it to clipboard.
|
||||||
# inpired by: https://gist.github.com/igemnace/2b8609d280752e8a1b173204c14f6892
|
# inpired by: https://gist.github.com/igemnace/2b8609d280752e8a1b173204c14f6892
|
||||||
|
|
||||||
pass_name=$(cd $HOME/.password-store && rg --files | sed 's/\.gpg$//' | choose)
|
pass_name=$(cd $HOME/.password-store && rg --files | sort | sed 's/\.gpg$//' | choose)
|
||||||
|
|
||||||
[[ $pass_name != "" ]] && pass show -c $pass_name
|
[[ $pass_name != "" ]] && pass show -c $pass_name
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# Use fuzzel to find a password from password-store and copy it to clipboard.
|
# Use fuzzel to find a password from password-store and copy it to clipboard.
|
||||||
# inpired by: https://gist.github.com/igemnace/2b8609d280752e8a1b173204c14f6892
|
# inpired by: https://gist.github.com/igemnace/2b8609d280752e8a1b173204c14f6892
|
||||||
|
|
||||||
pass_name=$(cd $HOME/.password-store && rg --files | sed 's/\.gpg$//' | fuzzel -d)
|
pass_name=$(cd $HOME/.password-store && rg --files | sort | sed 's/\.gpg$//' | fuzzel -d)
|
||||||
|
|
||||||
[[ $pass_name != "" ]] && pass show -c $pass_name
|
[[ $pass_name != "" ]] && pass show -c $pass_name
|
||||||
|
|
Loading…
Reference in a new issue