Change preview method in fscr script to bat

This commit is contained in:
samedamci 2020-05-26 18:12:35 +02:00
parent 60333aec77
commit ac9c737b24
No known key found for this signature in database
GPG Key ID: FCB4A9A20D00E894

View File

@ -2,4 +2,4 @@
# Menu with scripts to edit in editor.
find "$HOME"/.local/bin/scripts/ -type f | fzf --preview "cat {}" --height 25 --layout reverse | xargs -r "$EDITOR"
find "$HOME"/.local/bin/scripts/ -type f | fzf --preview "bat {}" --height 25 --layout reverse | xargs -r "$EDITOR"