Added preview and color scheme

This commit is contained in:
James Patrick 2020-08-17 23:35:39 -04:00
parent 0b5d49b31d
commit fe83484ffc

View File

@ -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