Added preview and color scheme
This commit is contained in:
parent
0b5d49b31d
commit
fe83484ffc
|
@ -6,7 +6,14 @@ PASSFILE=$(tree -Ffi \
|
|||
| grep '.gpg' \
|
||||
| sed 's/.gpg$//g' \
|
||||
| sed 's/^..//' \
|
||||
| fzf --reverse --no-info --prompt='pass::' --pointer='➜' --no-multi )
|
||||
| fzf \
|
||||
--color="gutter:0,prompt:2" \
|
||||
--no-info \
|
||||
--no-multi \
|
||||
--pointer='➜' \
|
||||
--preview "echo {} && (echo {} | sed 's/./-/g') && pass {}" \
|
||||
--prompt='pass::' \
|
||||
--reverse )
|
||||
|
||||
|
||||
if [ -z "$PASSFILE" ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user