X-Git-Url: https://deadsoftware.ru/gitweb?p=bbdiff.git;a=blobdiff_plain;f=README;h=c5b7788ac793c95fe4f4dfc17e3286905b7655d9;hp=bbee7baaa06e76f9ac553f47241e2d4e1568829f;hb=8de02e8e7565ebf0dd67802843cc35af7df7af6f;hpb=ea9ebbf9d13b2f0a0fb436dd05972d044fea7d28 diff --git a/README b/README index bbee7ba..c5b7788 100644 --- a/README +++ b/README @@ -41,7 +41,7 @@ Integration with git 2. Create script odctool-gitdiff: #! /bin/sh - odctool diff -C -p "$1" "$2" "$5" + odctool diff -x -X -C -p "$1" "$2" "$5" 3. Add to .git/config: @@ -79,14 +79,14 @@ Integration with ranger # BlackBox Compound Document odc) - odctool -C cat "${FILE_PATH}" && exit 5 + odctool -C -X cat "${FILE_PATH}" && exit 5 exit 1;; esac } 2. To open/read documents add to $HOME/.config/ranger/rifle.conf: - ext odc, has odctool, terminal, file = odctool -C cat "$1" | less --tabs=2 -S + ext odc, has odctool, terminal, file = odctool -C -X cat "$1" | less --tabs=2 -S Current state