From 565b9b3ea46a3951a091691fecebfa066f541a14 Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Tue, 26 May 2020 18:12:35 +0200 Subject: [PATCH] Change preview method in fscr script to bat --- .local/bin/scripts/fscr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/scripts/fscr b/.local/bin/scripts/fscr index ab7b2f6..c2ab192 100755 --- a/.local/bin/scripts/fscr +++ b/.local/bin/scripts/fscr @@ -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"