summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/edit_document2
1 files changed, 1 insertions, 1 deletions
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