diff options
| author | 0scar <qgt268@alumni.ku.dk> | 2022-01-16 20:12:17 +0000 |
|---|---|---|
| committer | 0scar <qgt268@alumni.ku.dk> | 2022-01-16 20:12:17 +0000 |
| commit | d541bec023fcf397d27d896079049b087ba97fc7 (patch) | |
| tree | 61f391be1415d8ee7a521bd19a87ec46056d648f | |
| parent | 6a6490fa010d0d0b3670e464852ec8d5222c5c83 (diff) | |
Add preview colors in `edit_document`
| -rwxr-xr-x | .local/bin/edit_document | 2 |
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 |
