From 278f5d9068ffdafb14b77d8aac672c54f822fbb6 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 22 Mar 2015 22:46:46 +0100 Subject: rifle.conf: open files with "pptx?" extension with *office Thanks @GermainZ for the suggestion --- ranger/config/rifle.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ranger/config/rifle.conf b/ranger/config/rifle.conf index 6e1e78b9..f4b438c7 100644 --- a/ranger/config/rifle.conf +++ b/ranger/config/rifle.conf @@ -159,11 +159,11 @@ ext pdf, has qpdfview, X, flag f = qpdfview "$@" ext docx?, has catdoc, terminal = catdoc -- "$@" | "$PAGER" -ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, flag f = gnumeric -- "$@" -ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has kspread, X, flag f = kspread -- "$@" -ext od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f = libreoffice "$@" -ext od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has soffice, X, flag f = soffice "$@" -ext od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has ooffice, X, flag f = ooffice "$@" +ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, flag f = gnumeric -- "$@" +ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has kspread, X, flag f = kspread -- "$@" +ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f = libreoffice "$@" +ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has soffice, X, flag f = soffice "$@" +ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has ooffice, X, flag f = ooffice "$@" ext djvu, has evince, X, flag f = evince -- "$@" ext djvu, has atril, X, flag f = atril -- "$@" -- cgit 1.4.1-2-gfad0