ranger-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ranger-users] Two-part extensions


From: Arman Eshaghi
Subject: Re: [Ranger-users] Two-part extensions
Date: Fri, 24 Jul 2015 10:47:12 +0100

Thank you so much

On Fri, Jul 24, 2015 at 10:19 AM, hut <address@hidden> wrote:
Try

path \.nii\.gz$ = MyApplication "$1"

The argument to "path" is a regular _expression_, so you have to escape
the dots with a backslash. Placing a "$" at the end means ".nii.gz"
should only occur at the end of the path.

regards,
hut

On Fri, Jul 24, 2015 at 09:39:28AM +0100, Arman Eshaghi wrote:
> Dear Al,
>
> What would be the best way to define a two-part extension to be opened by a
> specific application. Here is what I have done in
> ~/.config/ranger/rifle.conf but I cannot get what I want
>
> ext nii.gz                       = MyApplication "$1"
>
> However, MyApplication will never launch with .nii.gz files. My question is
> where ext is defined, or how would you define a two-part extension here?
>
> Thank you in advance for any help
>
> All the best,
> Arman



reply via email to

[Prev in Thread] Current Thread [Next in Thread]