From d541bec023fcf397d27d896079049b087ba97fc7 Mon Sep 17 00:00:00 2001 From: 0scar Date: Sun, 16 Jan 2022 21:12:17 +0100 Subject: Add preview colors in `edit_document` --- .local/bin/edit_document | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/edit_document') diff --git a/.local/bin/edit_document b/.local/bin/edit_document index 7609770..e09fdda 100755 --- a/.local/bin/edit_document +++ b/.local/bin/edit_document @@ -11,7 +11,7 @@ DOCUMENT=$(find -L $DIR -name "*.${EXTENSION}" \ | fzf -m --header 'Open file(s) in $EDITOR' \ --history=${XDG_CACHE_HOME:-$HOME/.cache}/edit_document.hist \ --preview-window=$PREVIEWPOS \ - --border=rounded --preview='bat {}') + --border=rounded --preview='bat --style=numbers,changes --color=always {}') [ -n "${DOCUMENT}" ] || exit 1 -- cgit v1.3