summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorEmanuel Guevel <guevel.emanuel@gmail.com>2012-11-18 18:51:35 +0100
committerEmanuel Guevel <guevel.emanuel@gmail.com>2012-11-18 18:51:35 +0100
commit721488ce49f1b6520f7c367cb5799c2dc85af935 (patch)
tree301bce7c362acea370954bf6a5078ebff5bea915 /ranger
parent042c792e5eee82757517f8702947d154c057486f (diff)
downloadranger-721488ce49f1b6520f7c367cb5799c2dc85af935.tar.gz
rifle.conf: fix opening doc/docx files with ooffice variants
Diffstat (limited to 'ranger')
-rw-r--r--ranger/config/rifle.conf15
1 files changed, 6 insertions, 9 deletions
diff --git a/ranger/config/rifle.conf b/ranger/config/rifle.conf
index a5efeb8d..842c85e2 100644
--- a/ranger/config/rifle.conf
+++ b/ranger/config/rifle.conf
@@ -147,16 +147,13 @@ ext pdf, has evince,   X, flag f = evince -- "$@"
 ext pdf, has okular,   X, flag f = okular -- "$@"
 ext pdf, has epdfview, X, flag f = epdfview -- "$@"
 
-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]|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f = libreoffice "$@"
-ext od[dfgpst]|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has soffice,     X, flag f = soffice "$@"
-ext od[dfgpst]|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has ooffice,     X, flag f = ooffice "$@"
-
 ext docx?, has catdoc,       terminal = catdoc -- "$@" | "$PAGER"
-ext docx?, has libreoffice, X, flag f = libreoffice -- "$@"
-ext docx?, has soffice,     X, flag f = soffice -- "$@"
-ext docx?, 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 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 djvu, has evince, X, flag f = evince -- "$@"