diff options
author | toonn <toonn@toonn.io> | 2021-12-13 22:09:05 +0100 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2021-12-13 22:09:05 +0100 |
commit | 7cbdd92a66e5f0d08672b4b9fc36492a7dc1eed6 (patch) | |
tree | 253667f6f0e4874b5c3cecf2031d76fdb0e8d873 | |
parent | 0b77fb8aba2da25ea452c14f6876fde6b50b3838 (diff) | |
parent | 9da2b4c79323a3f34da8d54198364d549a29ff00 (diff) | |
download | ranger-7cbdd92a66e5f0d08672b4b9fc36492a7dc1eed6.tar.gz |
Merge remote-tracking branch 'shervinsahba/master'
-rwxr-xr-x | ranger/data/scope.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index 044b3f53..0c003399 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -80,12 +80,16 @@ handle_extension() { exit 1;; ## OpenDocument - odt|ods|odp|sxw) + odt|sxw) ## Preview as text conversion odt2txt "${FILE_PATH}" && exit 5 ## Preview as markdown conversion pandoc -s -t markdown -- "${FILE_PATH}" && exit 5 exit 1;; + ods|odp) + ## Preview as text conversion (unsupported by pandoc for markdown) + odt2txt "${FILE_PATH}" && exit 5 + exit 1;; ## XLSX xlsx) |